Bug #66449

Accessing backend module without selected page in pagetree

Added by Michał Hepner about 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2015-04-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

There is an issue with backend module loading after deleting a page.
Typo3 throws an error:

*#1289917924*: You don't have access to this page

RuntimeException thrown in file
/path/to/typo3/sysext/extbase/Classes/Core/ModuleRunner.php in line 50.

When you delete a page with drag & drop, no page is selected after the operation. Next try to select a backend module before manually selecting a page from the page-tree this produces the mentioned error.

Steps to reproduce:
1. Log in to the backend
2. Create a new page in the page-tree
3. Remove that page with drag & drop to the bottom of the page-tree
4. Do NOT select any page.
5. Select any backend module (web, workspaces)
6. We have an exception.

I would suggest to make the following - if you delete the page with drag & drop, the page-tree should be focused on the closest parent of the deleted page.


Related issues

Related to TYPO3 Core - Bug #37611: Current page has to be checked when changing workspacesClosed2012-05-30

Actions
#1

Updated by Riccardo De Contardi almost 6 years ago

I've done a test with both 6.2.14 and 7 (latest master)
as far as I can see, following the procedure:

1. Log in to the backend
2. Create a new page in the page-tree
3. Remove that page with drag & drop to the bottom of the page-tree
4. Do NOT select any page.
5. Select any backend module

I obtain an exception only in 2 cases:

1) VIEW
2) WORKSPACES

the exception is:

Oops, an error occurred!

You don't have access to this page
#2

Updated by Thorsten Kahler almost 6 years ago

Suggested solution (like in #37611): select parent page via JS when current page is deleted.

#3

Updated by Gerrit Code Review over 5 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/44923

#4

Updated by Gerrit Code Review over 5 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/44923

#5

Updated by Gerrit Code Review over 5 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/44923

#6

Updated by Gerrit Code Review over 5 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/44923

#7

Updated by Gerrit Code Review over 5 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/44923

#8

Updated by Gerrit Code Review over 5 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/44923

#9

Updated by Gerrit Code Review over 5 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/44923

#10

Updated by Gerrit Code Review over 5 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44923

#11

Updated by Gerrit Code Review over 5 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44923

#12

Updated by Gerrit Code Review over 5 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/47114

#13

Updated by Michael Oehlhof over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#14

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF