Task #33082

Improve error msg of "broken rootline"

Added by Georg Ringer over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2012-01-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

there can be various causes when the rootline is broken.
one which I get quite often when starting a new project is because I have something like

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';

but realurl is not installed or the field is not available.

therefore the query fails.

changing the error msg helps to provide some additional information. as the query is really simple (select $fields from pages where uid=$uid) having those 2 arguments it helps a lot to solve the puzzle

(patch will be pushed later, diff is just to not loose it.)

How to test: just add

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',xyz';

to your localconf and get the error.


Files

diff-rootline.diff (602 Bytes) diff-rootline.diff Georg Ringer, 2012-01-10 09:48
#1

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7779

#2

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7779

#3

Updated by Georg Ringer over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 70 to 100
#4

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/13007

#5

Updated by Gerrit Code Review about 10 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13008

#6

Updated by Georg Ringer about 10 years ago

  • Status changed from Under Review to Resolved
#7

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13310

#8

Updated by Wouter Wolters over 9 years ago

Can be closed.

#9

Updated by Stefan Galinski over 9 years ago

  • Status changed from Under Review to Closed

Also available in: Atom PDF