Bug #62068

PageRepository should remove empty entries in pageOverlayFields

Added by Nils Blattner over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2014-10-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

Hi there

I realize this is something exotic. However, when you do something like this:
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'] = ',doktype';
No translations work.
This occured while after updating one of our systems from 4.5.x to 6.2.5, so it must have "worked" in 4.5 (or was at least ignored).

The solution is rather simple, the PageRepository just has to remove empty entries just like the rootline utility does for addRootLineFields.

The attached Patch should cover it.

Cheers


Files

pagerepopatch.diff (661 Bytes) pagerepopatch.diff Nils Blattner, 2014-10-07 08:19
#1

Updated by Gerrit Code Review over 6 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 http://review.typo3.org/33181

#2

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33192

#3

Updated by Nils Blattner over 6 years ago

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

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF