http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692017-10-18T16:55:04ZTYPO3 ForgeTYPO3 Core - Bug #82798: Linkhandler for records works only when BE user is logged inhttp://forge.typo3.org/issues/82798?journal_id=3437372017-10-18T16:55:04ZMarkus Dübbertinfo@markusduebbert.de
<ul></ul><p>it seems to be a difference where the page tsconfig is embedded.<br />if the page tsconfig is embedded in the root page it works.<br />if it is embedded in an extension, it doesn't.</p>
<p>we can close this issue</p> TYPO3 Core - Bug #82798: Linkhandler for records works only when BE user is logged inhttp://forge.typo3.org/issues/82798?journal_id=3437422017-10-18T17:54:35ZGeorg Ringer
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul> TYPO3 Core - Bug #82798: Linkhandler for records works only when BE user is logged inhttp://forge.typo3.org/issues/82798?journal_id=3954442019-02-25T13:45:35ZBenjamin Robinson
<ul></ul><p>It should also be possible to use the linkhandler if TsConfig is initialized via ext_tables.php in a site-extension like ...<br /><pre>\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="DIR:EXT:user_site/Configuration/TsConfig/Page">');</pre><br />... or ...<br /><pre>
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile(
'user_site',
'Configuration/TSconfig/Page/PageDefaults.tsconfig',
'My PageDefaults.tsconfig'
);
</pre></p>
<p>This does not work in 9.5.4 if the fe-page cache is generated by someone whithout BE-login.</p>
<p>It does work if the file is included in the root pages TSconfig (page properties):<br /><pre>
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:user_site/Configuration/TsConfig/Page">
</pre></p>
<p>Can we reopen this issue?</p> TYPO3 Core - Bug #82798: Linkhandler for records works only when BE user is logged inhttp://forge.typo3.org/issues/82798?journal_id=3955402019-02-28T10:04:06ZBenjamin Robinson
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/87574">Bug #87574</a>: Redirects to records (linkHandler) don't work</i> added</li></ul> TYPO3 Core - Bug #82798: Linkhandler for records works only when BE user is logged inhttp://forge.typo3.org/issues/82798?journal_id=4430312021-04-26T19:07:47ZTina Westner
<ul></ul><p>I think, this issue is still existing in 10.4.15.</p>
<p>Linkhandler is configured correctly in PageTSConfig and TypoScript.</p>
<p>When I include the Linkhandler-PageTSConfig via ext_tables.php, then:</p>
<p>--> Clearing Cache --> Calling the page with existing be-login --> the linkhandler-links are generated and fe-cache is written fine, too.<br />--> Clearing Cache --> Calling the page <strong>without</strong> existing be-login first --> <strong>the linkhandler-links are not there (text, but not linked) and this version is in fe-cache as well.</strong></p>
<p>When I include the Linkhandler-PageTSConfig via Pagetree, then<br />-> in both cases the links are generated and the fe-cache is written correctly.</p>
<p>(The reason for including via ext_tables.php was, that I need the linkhandler-options in redirect-module. For the moment I include the config twice, so both problems are solved.)</p> TYPO3 Core - Bug #82798: Linkhandler for records works only when BE user is logged inhttp://forge.typo3.org/issues/82798?journal_id=4430352021-04-26T21:28:06ZOliver Bartsch
<ul></ul><p>Hi Tina, do you use <code>ExtensionManagementUtility->addPageTSConfig()</code> for including the Page TSconfig? If so, please move this into your <code>ext_localconf.php</code>. This way it works for me without problems. Also have a look at the corresponding PHPDoc of <code>addPageTSConfig</code> which states:</p>
<pre>
* Adds $content to the default Page TSconfig as set in $GLOBALS['TYPO3_CONF_VARS'][BE]['defaultPageTSconfig']
* Prefixed with a [GLOBAL] line
* FOR USE IN ext_localconf.php FILE
</pre>
<p>In case you are using <code>ExtensionManagementUtility::registerPageTSConfigFile</code>, this must go into <code>Configuration/TCA/Overrides/pages.php</code>. This possibility however also works for me in both ways (<code>ext_tables.php</code> and <code>pages.php</code>).</p>
<p>Is there something else to take into consideration?</p> TYPO3 Core - Bug #82798: Linkhandler for records works only when BE user is logged inhttp://forge.typo3.org/issues/82798?journal_id=4430382021-04-27T06:45:02ZTina Westner
<ul></ul><p>Hi Oli,</p>
<p>thank you for pointing me in the right direction. I read of ext_tables.php in some tickets and did not think about it, just tried. But that was wrong, of course.<br />Everything works now after putting the line in ext_localconf.php</p>
<p>thank you.</p>