Bug #15122

compressed TCA not available with active BE session

Added by Martin Kutschker almost 16 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-12-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

t3lib_pageSelect->getRecordOverlay() relies on $TSFE->TCAcachedExtras set by $TSFE->getCompressedTCarray().

$TSFE->getCompressedTCarray() does only set $TSFE->TCAcachedExtras if the TCA hasn't been loaded yet. But an active BE session loads the TCA, so plugins that use the l10n features of t3lib_pageSelect->getRecordOverlay() break.

(issue imported from #M2028)


Files

tslib_fe-cTCA.diff (3.33 KB) tslib_fe-cTCA.diff Administrator Admin, 2007-03-13 16:12
#1

Updated by Tom Pfeiffer over 11 years ago

I would like to add that at least in my case, the problem with $TSFE->TCAcachedExtras not set apparently only occurs when in FE editing mode (edit icons shown).
The getRecordOverlay() method then only retrieves the overlay, but all fields set as "exclude" / "MergeIfNotBlank" are empty.
Disabling Edit panel resolves the problem in FE, but it's really needed to give editors in other languages the ability to work with FE editing correctly.
Typo 4.3.3 / Php 5.2.19

#2

Updated by Dimitri Koenig about 11 years ago

We have the same problem, even in 4.4.x. Any updates?

#3

Updated by Alexander Opitz over 8 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)

Does this problem exists in newer TYPO3 CMS Versions like 4.5 or 6.0?

#4

Updated by Dimitri Koenig over 8 years ago

Yes it does. Just checked it out with 4.5

#5

Updated by Alexander Opitz over 8 years ago

  • TYPO3 Version changed from 4.1 to 4.5
#6

Updated by Alexander Opitz over 8 years ago

  • Status changed from Needs Feedback to Accepted
#7

Updated by Benni Mack almost 7 years ago

  • Status changed from Accepted to Resolved
  • Is Regression set to No

TCA cached extras is not used in 6.2 anymore, as the TCA caching is done differently now. Problem solved.

#8

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF