Project

General

Profile

Actions

Bug #85989

closed

Linkhandler configuration not loaded when assigned in TCA/Overrides by addPageTSConfig()

Added by Jan Kornblum over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2018-08-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

Linkhandler configuration in BE seems not to be loaded when defined in Configuration/TCA/Overrides/pages.php like this:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:myext/Configuration/PageTS/Linkhandler.ts">'
);

Actions #1

Updated by Markus Klein over 5 years ago

If you put other TSconfig in there, do you see the relevant TSconfig in the Info module then?

Actions #2

Updated by Susanne Moog over 5 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Jan Kornblum over 5 years ago

I've got another strange behaviour: Independent from how the linkhandler configuration is assigned, sometimes the following happens: Editor creates links to some extensions records in backend. Frontend is called and links are correctly rendered. Editor now changes any of the linked extension records (any field), suddenly the frontend links have gone. This can't be reproduced, it just happens sometimes. Very strange...

Actions #4

Updated by Anja Leichsenring over 5 years ago

  • Status changed from New to Rejected

addPageTSConfig manipulates TYPO3_CONF_VARS and not the TCA, so the location is wrong.

Please add your call to ext_localconf.php, if this is really what you wanted to do. And here is some docu for you: https://docs.typo3.org/typo3cms/TSconfigReference/singlehtml/#setting-default-page-tsconfig.

Actions

Also available in: Atom PDF