Issue Bug Closed

#21349DOM object identifiers use invalid characters

Oliver Hader 10/23/09, 19:10 updated 08/06/10, 13:30

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.