Task #46401

Work Package #45020: Content Editing Stability and Features

Workspace module breaks when having two node with same path

Added by Aske Ertmann over 2 years ago. Updated 9 months ago.

Status:Closed Start date:2013-03-18
Priority:Must have Due date:
Assigned To:Tim Kandel % Done:

0%

Category:-
Target version:-
Sprint:

Description

Due to the uniqueness of paths, the workspace module breaks if you have two nodes on the same level with the same path. E.g. two subpages or a subpage and a section with the same path.

We need to figure out what we can do about this issue, since it will become a regular problem.


Related issues

related to TYPO3.Neos - Bug #45542: Workspace module breaks with error Closed 2013-02-17

History

#1 Updated by Bastian Waidelich over 2 years ago

Just some (not really sophisticated) thoughts that came up on this one:
Probably it would have been good to change the path for "non-folder" nodes from "/sites/site/page1/page2/main/text1" to s.th. like "/sites/site/page1/page2/_sections/main/_elements/text1" but that would be quite a (breaking?) change.
In any case we should always validate changes to the TYPO3CR before persisting them..
In this case it would mean that you couldn't change the URI to "main.html" (if you have a section "main", too) but in the long run routing and node names should be separate anyways

#2 Updated by Sebastian Kurfuerst about 2 years ago

  • Status changed from New to Accepted
  • Assigned To set to Tim Kandel

#3 Updated by Gerrit Code Review about 2 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21830

#4 Updated by Aske Ertmann almost 2 years ago

  • Status changed from Under Review to Rejected

We decided not to fix this in the workspace module, but instead make sure it's not possible with the TYPO3CR API

#5 Updated by Aske Ertmann 9 months ago

  • Status changed from Rejected to Closed

Also available in: Atom PDF