[TYPO3-core] FYI72: Fix bug #12327: IRRE - DOM object identifier uses invalid characters

Stefan Geith typo3dev2009.nospam1 at geithware.de
Mon Oct 26 10:40:34 CET 2009


Hi Oliver,

this patch fixes the related issue 0011835,
_but_ introduces other 'missbehaviour':

Inline Records, that are collapsed, do not expand any more.

Will test, if I find more problems today.

/Stefan




Oliver Hader schrieb:
> This is an SVN patch request that will be committed to SVN after 72
> hours if nobody objects.
> 
> Type: Bugfix
> 
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core



More information about the TYPO3-team-core mailing list