Issue Bug Closed

#22050Delete page problem with pages_language_overlay

Uros 02/03/10, 14:53 updated 05/16/13, 09:31

Description

When I delete a page with 5 pages_language_overlay it always deletes pages_language_overlay that have the same pid as those deleted pages_language_overlay uid.

For example:
If I have a page with id 67 and pages_language_overlay with ids (112,113,114,115,116) in pid 67, and then try to delete this page with id 67, then TYPO3 deletes a page with uid 67 and pages_language_overlay that are in pid 67 which is OK, but it also deletes pages_language_overlay that are in pid (112,113,114,115,116) which is NOT OK. TYPO3 traverses those uids till there are no pages_language_overlay to delete.

I have tried this on TYPO3 4.3 and 4.3.1 and the error is the same.
On older version of TYPO3 like 4.2.11 it works just fine.

I hope I was clear enough.

I have also submitted sample.sql with sys_languages, pages and pages_language_overlay in it just to have the same page tree structure.

Just try to delete for example the page with id 67 and check log.

(issue imported from #M13414)

Reviews 0

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