Bug #72238
closedAfter renaming a page only reload current page if it's the renamed one
100%
Description
A page can be renamed by double clicking it in the pagetree. Once the renaming is done, the page currently loaded in the backends main frame is reloaded, no matter if it is the renamed page or not. This reloading should only happen if the page in the main frame is the renamed page. Otherwise the reloading should be skipped, because it makes no sense and might interrupt the users actions.
Steps to reproduce:- click page A in the pagetree to load the page in the main frame
- double click page B in the pagetree
- enter a new page name for page B (page A is still loaded in the main frame)
- (do not press enter)
- double click page A in the page tree
Current behaviour:
page A will be reloaded in the main frame.
Proposed behaviour:
page A will not be reloaded in the main frame.
The reload is caused by this line: https://github.com/TYPO3/TYPO3.CMS/blob/539644a7dbb5f807450185bd9e474a48d793ad97/typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/actions.js#L778
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
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/45391
Updated by Gerrit Code Review almost 9 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/45391
Updated by Gerrit Code Review almost 9 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/45391
Updated by Gerrit Code Review almost 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45391
Updated by Gerrit Code Review almost 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45391
Updated by Gerrit Code Review almost 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45391
Updated by Gerrit Code Review almost 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45391
Updated by Gerrit Code Review almost 9 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46354
Updated by Gianluigi Martino almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5e0d7f3905f1a1234b74bc1f6945dbcf54b87977.