ORIENT/modules/backend
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
..
assets Service Workers Invalid security token and Clear Site Data HTTP Header (#4088) 2019-03-01 16:22:18 -06:00
behaviors Reuse the model instance from Form widget (#4193) 2019-03-15 22:32:36 -06:00
classes Fix support for main menu items having a numeric value for `counter` 2019-03-16 13:53:25 -06:00
controllers Service Workers Invalid security token and Clear Site Data HTTP Header (#4088) 2019-03-01 16:22:18 -06:00
database Add soft delete column to backend users so that migrations that use the User model work 2018-12-19 19:43:04 -06:00
facades Code dusting (#2826) 2017-04-24 21:38:19 +10:00
formwidgets Fix issue with multiple repeaters with the same fieldname embedded in the same controller 2019-03-18 12:39:12 -06:00
helpers Return empty from Backend::dateTime instead of current date (#3246) 2018-03-30 10:06:47 -06:00
lang Update French Translation (#4179) 2019-03-09 07:28:23 -06:00
layouts Added backend.layout.extendHead event 2019-02-25 12:56:55 -06:00
models Added new Inline (no icons) navigation mode to the branding options 2019-02-13 14:55:03 -06:00
reportwidgets {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
skins {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
traits Added morphTo to list of singular relations (#3809) 2018-12-06 10:43:50 -06:00
views Prevent password from being HTML encoded in the invite email 2019-02-13 14:55:29 -06:00
widgets Use Form getSaveData method when saving form widgets within repeaters (#4160) 2019-03-15 22:39:34 -06:00
ServiceProvider.php Added backend.manage_default_dashboard permission to lock down who has access to change the default dashboard for the system. Fixes #2176 2018-12-20 17:26:49 -06:00
composer.json Updating links in composer files 2018-04-16 02:33:08 -06:00
routes.php Apply web middleware group for the good cookies 2017-05-13 22:18:13 +10:00