ORIENT/modules/backend/formwidgets
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
..
codeeditor Recompile assets 2019-01-15 13:35:12 -06:00
colorpicker Trigger color picker change event 2017-07-22 17:18:45 +10:00
datatable/partials Create initial DataTable form widget 2015-01-03 11:57:50 +11:00
datepicker/partials Set the datetime value with time 00:00:00 when using the date mode (#4111) 2019-02-06 10:23:50 -06:00
fileupload Use singular byte for '1 byte' filesize (#4130) 2019-02-11 09:48:15 -06:00
markdowneditor Change z-index of full-screen markdown editor (#3838) 2018-10-03 10:56:08 -06:00
mediafinder MediaFinder: trigger change event (#3446) 2018-12-04 11:12:26 -06:00
nestedform Recompile assets 2019-01-15 13:35:12 -06:00
permissioneditor Introduce concept of system roles 2017-07-13 19:29:50 +10:00
recordfinder Fixes #3119 (#3163) 2018-11-23 00:33:01 -06:00
relation/partials Remove cms.tempDir - use temp_path() 2015-02-07 15:42:20 +11:00
repeater Allow datatables to work within a repeater (#4102) 2019-02-04 12:50:40 -06:00
richeditor Fixed the Delete and Enter not being captured in keydown.oc.richeditor (#4015) 2019-01-03 14:07:29 -06:00
taglist/partials Add support for placeholder in TagList widgets (#3453) 2018-11-15 13:32:59 -06:00
CodeEditor.php {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
ColorPicker.php Minor peer review 2018-08-21 13:24:59 +10:00
DataTable.php Allow datatables to work within a repeater (#4102) 2019-02-04 12:50:40 -06:00
DatePicker.php Set the datetime value with time 00:00:00 when using the date mode (#4111) 2019-02-06 10:23:50 -06:00
FileUpload.php Improved disabled support for balloon-selector and fileupload fields 2019-01-16 13:32:31 -06:00
MarkdownEditor.php Remove unused reference (#3045) 2017-08-17 14:00:43 -06:00
MediaFinder.php Remove unused imports 2018-08-24 19:51:59 +02:00
NestedForm.php Added NestedForm FormWidget (#3977) 2018-12-19 21:54:20 -06:00
PermissionEditor.php Fix 'illegal string offset' warning (#3331) 2017-12-31 11:03:07 -06:00
RecordFinder.php Added support for using the record finder without a model relationship 2019-01-18 18:16:16 -06:00
Relation.php Remove unused imports 2018-08-24 19:51:59 +02:00
Repeater.php Fix issue with multiple repeaters with the same fieldname embedded in the same controller 2019-03-18 12:39:12 -06:00
RichEditor.php Remove "null" assignments 2018-08-15 18:33:24 +02:00
TagList.php Add support for placeholder in TagList widgets (#3453) 2018-11-15 13:32:59 -06:00