The bug occurred because if specific fields aren't detected in onRefresh(), the entire Form widget HTML will be returned as the result instead of specific fields. This created a problem because the october.form.js JS is not setup to gracefully handle having the entire root form DOM node completely replaced in the middle of a request being completed. Specifically, this would cause problems when trying to detect empty tabs, and then the problems would cascade from there as there would be an instance of october.form.js attached to the page with broken references to no-longer existing DOM nodes. This fix solves the immediate issue of `field@context` using the `dependsOn` feature breaking by ensuring that the actual final field name for a given field is used instead of the name used in the configuration of the field. Future work should probably be done to better support an entire form being re-rendered if no fields are detected in onRefresh however. |
||
|---|---|---|
| .github | ||
| bootstrap | ||
| config | ||
| modules | ||
| plugins/october/demo | ||
| storage | ||
| tests | ||
| themes/demo | ||
| .babelrc | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .htaccess | ||
| .jshintrc | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
| artisan | ||
| composer.json | ||
| index.php | ||
| package.json | ||
| phpcs.xml | ||
| phpunit.xml | ||
| server.php | ||
README.md
October is a Content Management System (CMS) and web platform whose sole purpose is to make your development workflow simple again. It was born out of frustration with existing systems. We feel building websites has become a convoluted and confusing process that leaves developers unsatisfied. We want to turn you around to the simpler side and get back to basics.
October's mission is to show the world that web development is not rocket science.
Installing October
Instructions on how to install October can be found at the installation guide.
Quick start installation
For advanced users, run this in your terminal to install October from command line:
php -r "eval('?>'.file_get_contents('https://octobercms.com/api/installer'));"
If you plan on using a database, run this command:
php artisan october:install
Learning October
The best place to learn October is by reading the documentation, watching some screencasts or following some tutorials.
You may also watch these introductory videos for beginners and advanced users.
Development Team
October was created by Alexey Bobkov and Samuel Georges, who both continue to develop the platform.
The maintenance of October is lead by Luke Towers, along with many wonderful people that dedicate their time to help support and grow the community.
Luke Towers |
Ben Thomson |
Denis Denisov |
Marc Jauvin |
Foundation library
The CMS uses Laravel as a foundation PHP framework.
Contact
You can communicate with us using the following mediums:
- Follow us on Twitter for announcements and updates.
- Follow us on Facebook for announcements and updates.
- Join the Official Forum to engage with the community.
- Join us on Discord to chat with us.
Premium Support
October CMS can provide premium support for a monthly fee. Find out more via the Premium Support Program.
Contributing
Before sending or reviewing Pull Requests, be sure to review the Contributing Guidelines first.
Coding standards
Please follow the following guides and code standards:
Code of Conduct
In order to ensure that the October CMS community is welcoming to all, please review and abide by the Code of Conduct.
License
The October CMS platform is open-sourced software licensed under the MIT license.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.