[TYPO3-core] RFC #11112: Bugfix: Collapsing nodes in pagetree produces multiple items with same id

Andreas Wolf typo3ml at andreaswolf.info
Mon May 18 00:54:31 CEST 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11112

Branches:
 * trunk

Problem:

When you collapse or expand items in the pagetree, the Javascript
updating the tree selects the wrong node when inserting the new nodes
(or removing nodes when collapsing tree parts).

See the attached screenshot for an impression of what the HTML structure
looks like after several collapse and expand steps.


Solution:

The problem can be solved by just going one level up in the DOM
structure when selecting the node. The reason for this bug is the same
as for 11111 - there was a change in the HTML structure that was not
reflected in the Javascript.

Attached patch solves the problem.


Cheers, Andreas


More information about the TYPO3-team-core mailing list