http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692021-12-16T15:17:48ZTYPO3 ForgeTYPO3 Core - Bug #96374: Wrong include path calculated for RequireJShttp://forge.typo3.org/issues/96374?journal_id=4605392021-12-16T15:17:48ZFrancois Suterfrancois@typo3.org
<ul></ul><p>This can be tested with the external_import extension. Just access the "Data Import" module and you should see a 404 error when trying to fetch the Datatables.js file. The visible effect is that the search field does nothing and that the table is not sorted in order of priority by default (however to have anything in the table, you also need to install extension "externalimport_tut").</p> TYPO3 Core - Bug #96374: Wrong include path calculated for RequireJShttp://forge.typo3.org/issues/96374?journal_id=4605502021-12-16T18:41:16ZOliver Haderoliver.hader@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>(I assume that <a class="external" href="https://github.com/TYPO3/CmsComposerInstallers/releases/tag/v4.0.0-RC1">https://github.com/TYPO3/CmsComposerInstallers/releases/tag/v4.0.0-RC1</a> is used already in your particular project - in case it is not, please report back)</p>
<p>I've create a corresponding pull-request at <a class="external" href="https://github.com/cobwebch/external_import/pull/225">https://github.com/cobwebch/external_import/pull/225</a> to change the path resolving.</p>
<a name="Explanation"></a>
<h3 >Explanation<a href="#Explanation" class="wiki-anchor">¶</a></h3>
<ul>
<li><code>PathUtility::getAbsoluteWebPath('EXT:extension_name/')</code> resolves to corresponding (private) folder in Composer <code>vendor/</code> folder</li>
<li><code>PathUtility::getAbsoluteWebPath('EXT:extension_name/Resources/Public')</code> resolves to (virtual) public path <code>typo3conf/ext/</code></li>
</ul> TYPO3 Core - Bug #96374: Wrong include path calculated for RequireJShttp://forge.typo3.org/issues/96374?journal_id=4606322021-12-17T15:03:27ZFrancois Suterfrancois@typo3.org
<ul></ul><p>I'm on the main branch of <a class="external" href="https://github.com/TYPO3/CmsComposerInstallers/">https://github.com/TYPO3/CmsComposerInstallers/</a></p> TYPO3 Core - Bug #96374: Wrong include path calculated for RequireJShttp://forge.typo3.org/issues/96374?journal_id=4606362021-12-17T15:06:14ZOliver Haderoliver.hader@typo3.org
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Resolved</i></li></ul><p>Thx for the feedback! I'm closing this issue on the core-side. Please feel free to reopen, in case you think the TYPO3 core should behave differently here...</p> TYPO3 Core - Bug #96374: Wrong include path calculated for RequireJShttp://forge.typo3.org/issues/96374?journal_id=4606452021-12-17T16:05:41ZFrancois Suterfrancois@typo3.org
<ul></ul><p>I just verified on my side too that it worked with both v10 and v11.</p>
<p>Before closing this issue, I'm wondering about that change in CMS Composer Installer. I don't remember any communication about it, and since it's not directly a change in TYPO3 itself, does it get any visibility as a breaking change?</p> TYPO3 Core - Bug #96374: Wrong include path calculated for RequireJShttp://forge.typo3.org/issues/96374?journal_id=4774502022-10-04T14:17:19ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>