Go to file
Luke Towers 3954704dda Fix issue with multiple repeaters with the same fieldname embedded in the same controller
There was a conflict between two repeaters that had the same fieldName (data) bound to the same controller. Example:

Controller: Events
Manages a ReportTemplate model with a custom popup Form widget that uses a grouped repeater with the field name data to define the available "fields" within a ReportTemplate
Also manages Report models through a relation controller that uses a Form widget with a regular repeater with the field name data that defines the values of the fields defined by the associated ReportTemplate.

Since both repeaters had the field name of "data", but one of them was grouped and the other wasn't, this would cause an issue in Repeater::processExistingItems() where the grouped repeater would attempt to process the ungrouped repeater's data which would then fail. This issue could easily cause many other vastly more confusing and difficult to detect issues in cases where multiple repeaters with the same field name AND the same mode (grouped vs regular) existed on the same page under different contexts. The simple solution is just to ensure that the indexInputName and groupInputName are both taking the repeater's alias into account when being generated to ensure that everything stays unique like it should.
2019-03-18 12:39:12 -06:00
.github Move the code of conduct to appease GitHub 2019-01-10 18:59:52 -06:00
bootstrap Rollback changes from 7b174e6ce8 2016-01-04 18:46:23 +11:00
config Warn about the dangers of changing app.timezone 2018-11-15 13:45:57 -06:00
modules Fix issue with multiple repeaters with the same fieldname embedded in the same controller 2019-03-18 12:39:12 -06:00
plugins/october/demo Remove duplicate attribute "class" (#3699) 2018-08-16 18:59:09 -06:00
storage Add new framework cache files 2017-06-08 16:26:24 +10:00
tests fix(build): Marked test as skipped for further investigation (#4191) 2019-03-09 12:14:48 +02:00
themes/demo Delete duplicate 2017-02-15 05:50:00 +11:00
.editorconfig Add editorconfig 2014-10-24 13:04:32 -04:00
.gitattributes Base files 2014-05-14 23:21:55 +10:00
.gitignore Added plugin:list, plugin:disable, & plugin:enable artisan commands (#4127) 2019-02-22 12:50:01 -06:00
.htaccess Added optional htaccess rule to force https (#3345) 2018-01-09 17:53:17 -06:00
.travis.yml Run tests on PHP 7.3 (#4023) 2018-12-30 12:35:16 -06:00
CHANGELOG.md Added issue templates, moved code of conduct 2018-12-27 16:17:12 -06:00
CODE_OF_CONDUCT.md Move the code of conduct to appease GitHub 2019-01-10 18:59:52 -06:00
LICENSE Add licence file (#3207) 2017-10-27 16:06:56 -06:00
README.md Fixed link to Contributing Guidelines (#4123) 2019-02-07 10:15:37 -06:00
artisan Remove patch code 2015-02-07 14:12:20 +11:00
composer.json Fix (Trait 'AssertGD\GDAssertTrait' not found) (#3824) 2018-09-26 09:19:42 -06:00
index.php Migrate bootstrap process 2015-02-04 19:31:41 +11:00
phpunit.xml This repo is outside our control 2015-07-25 12:33:17 +10:00
server.php Server for L5 2015-02-26 00:34:37 +04:00

README.md

October

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.

Build Status License

Learning October

The best place to learn October is by reading the documentation or following some tutorials.

You may also watch these introductory videos for beginners and advanced users.

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

Development Team

October was created by Alexey Bobkov and Samuel Georges, who (along with Luke Towers) continue to develop the platform.

Foundation library

The CMS uses Laravel as a foundation PHP framework.

Contact

You can communicate with us using the following mediums:

License

The OctoberCMS platform is open-sourced software licensed under the MIT license.

Contributing

Before sending a Pull Request, be sure to review the Contributing Guidelines first.

Coding standards

Please follow the following guides and code standards: