Bug #86563

Exception is thrown in view module if root page is selected

Added by Oliver Bartsch about 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-10-03
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Current behaviour:
  • If clicking the root page (id=0) in the view module and there is no Page with is_siteroot Field set, an ServiceUnavailableException is thrown with the Message: No pages are found on the rootlevel!
  • Furthermore, in the case that a Page with is_siteroot Field set exists under the root page (id=0), the view module displays this Page while actually the root page was selected. This is very confusing.
Steps to reproduce:
  • Set up clean TYPO3 9.5 installation (or set all pages deleted=1)
  • Click in the view module and select the root page (id=0) in the page tree
Would expect:
  • See an information not an Exception
  • See the selected page not a other page only because it's marked as siteroot

view-module_exception.png View (280 KB) Oliver Bartsch, 2018-10-03 21:43

Associated revisions

Revision d4f03014 (diff)
Added by Oliver Bartsch about 1 year ago

[BUGFIX] Display FlashMessage in View Module

When clicking on the root page while in view module
a FlashMessage is now displayed with proper information.
The FlashMessage is also shown in the case of clicking the
root page and a Page, marked as siteroot, exists.
Furthermore the FlashMessage is now also shown if the
selected page has no valid doktype e.g. sysfolder
or spacer.

Resolves: #86563
Releases: master
Change-Id: Ia8c6cddfe38602c94b41d5da81987d061778096f
Reviewed-on: https://review.typo3.org/58573
Reviewed-by: Rudy Gnodde <>
Tested-by: TYPO3com <>
Tested-by: Jasmina LieƟmann Reviewed-by: Joerg Kummer <typo3@enobe.de> Tested-by: Joerg Kummer <typo3@enobe.de> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Benni Mack <benni@typo3.org>

History

#1 Updated by Gerrit Code Review about 1 year 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/58573

#2 Updated by Gerrit Code Review about 1 year 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/58573

#3 Updated by Gerrit Code Review about 1 year 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/58573

#4 Updated by Gerrit Code Review about 1 year 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/58573

#5 Updated by Gerrit Code Review about 1 year 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/58573

#6 Updated by Oliver Bartsch about 1 year ago

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

#7 Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF