Project

General

Profile

Actions

Task #33082

closed

Improve error msg of "broken rootline"

Added by Georg Ringer almost 13 years ago. Updated over 11 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
Actions #1

Updated by Gerrit Code Review almost 13 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

Actions #2

Updated by Gerrit Code Review almost 13 years ago

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

Actions #3

Updated by Georg Ringer almost 13 years ago

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

Updated by Gerrit Code Review over 12 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

Actions #5

Updated by Gerrit Code Review over 12 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

Actions #6

Updated by Georg Ringer over 12 years ago

  • Status changed from Under Review to Resolved
Actions #7

Updated by Gerrit Code Review over 12 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

Actions #8

Updated by Wouter Wolters almost 12 years ago

Can be closed.

Actions #9

Updated by Stefan Galinski over 11 years ago

  • Status changed from Under Review to Closed
Actions

Also available in: Atom PDF