[TYPO3-core] FYI72: Fix bug #12327: IRRE - DOM object identifier uses invalid characters
Oliver Hader
oliver at typo3.org
Fri Oct 23 19:48:40 CEST 2009
This is an SVN patch request that will be committed to SVN after 72
hours if nobody objects.
Type: Feature
Bugtracker references:
http://bugs.typo3.org/view.php?id=12327
Branch: Trunk
Problem:
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:
data[11][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.
Solution:
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
Notes:
Since nobody would acutally read the whole patch in context, I've chosen
this to be a FYI72. However, I'd be happy if the patch could be tested.
Thanks!
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012327.patch
Type: text/x-patch
Size: 28705 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091023/20be292a/attachment-0001.bin>
More information about the TYPO3-team-core
mailing list