Bug #21349
closedDOM object identifiers use invalid characters
0%
Description
The DOM object identifier that are created for nested elements of Inline Releational Record Editing contains invalid characters. Object identifiers are use in IRRE to determine each level of nestification, examle:
data11[tx_irretutorial_1nff_offer]4[prices][tx_irretutorial_1nff_price]7
JavaScript methods that are executing CSS selections, will not work anymore (i.e. currently deleting child records in the forms view is not possible anymore). It's not a problem of the JavaScript frameworks like prototype.js, the reason are the invalid characters.
However the character "[" and "]" are invalid for being used as DOM object identifier. Thus, the separator has to be changed and accordant parts in the Core have to be adjusted, example:
data-11-tx_irretutorial_1nff_offer-4-prices-tx_irretutorial_1nff_price-7
(issue imported from #M12327)
Files
Updated by Stefan Geith about 15 years ago
This patch fixes the related issue 0011835, but introduces other 'missbehaviour':
- Inline Records, that are collapsed, do not expand any more.
- Inline Record only expands, if it is only one single record.
Updated by Oliver Hader about 15 years ago
Thanks for the feedback! As already written to the Core List, v2 of the patch fixes some other misbehaviours.