Bug #71094
closedPagetree loose active(selected) page when you edit the page proberties and click "Save & Close" button as non admin
100%
Description
This happens,
still in latest TYPO3 6.2 if you are not an admin-user.
You can reproduce it on or on your own TYPO3:
- http://cms62.demo.typo3.org/typo3/ with simple_editor (if the usergroup "Simple editors" has the "Web"-module list)
If you click on a page in the pagetree (if you in "List" or "Page"-Submodul is not important here), then when you go to edit the page-proberties and click "Save & Close" button you get lost, in the pagetree. This is really annoying if your editors work in a large pagetree.
The issue happens here:
typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php
Line: 345
- $mountPoints[] = (int)$GLOBALS['BE_USER']->uc['pageTree_temporaryMountPoint'];
- $mountPoints = array_unique($mountPoints);
This adds a Mountpoint to the SiteRoot (0) if there is no temporary MountPoint selected.
So i added a check, if there is any pageTree_temporaryMountPoint.
+ if(!is_null($GLOBALS['BE_USER']->uc['pageTree_temporaryMountPoint'])){
+ $mountPoints[] = (int)$GLOBALS['BE_USER']->uc['pageTree_temporaryMountPoint'];
+ $mountPoints = array_unique($mountPoints);
+ }
I added a Patch for 6.2.14. But the file didn't get changed since 2014…
So should work for latest TYPO3 6.2.
kind regards
Gregor
Files
Updated by Gerrit Code Review over 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46133
Updated by Gerrit Code Review over 8 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46133
Updated by Gerrit Code Review over 8 years ago
Patch set 3 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46133
Updated by Gerrit Code Review over 8 years ago
Patch set 4 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46133
Updated by Gerrit Code Review over 8 years ago
Patch set 5 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46133
Updated by Gerrit Code Review over 8 years ago
Patch set 6 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46133
Updated by Gerrit Code Review over 8 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47028
Updated by Gerrit Code Review over 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47028
Updated by Gerrit Code Review over 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47028
Updated by Gianluigi Martino over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4c7011d24ff03b4a9b79a204943170f02fca3c8c.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed