http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692013-02-15T03:25:24ZTYPO3 ForgeTYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1513002013-02-15T03:25:24ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1575432013-03-30T14:10:36ZGerrit Code Review
<ul></ul><p>Patch set 2 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1575582013-03-30T15:52:02ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1575592013-03-30T15:55:49ZGerrit Code Review
<ul></ul><p>Patch set 4 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1722182013-07-06T16:10:26ZGerrit Code Review
<ul></ul><p>Patch set 5 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1722242013-07-06T16:37:17ZGerrit Code Review
<ul></ul><p>Patch set 6 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1722322013-07-06T16:55:58ZGerrit Code Review
<ul></ul><p>Patch set 7 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1764052013-08-05T17:55:43ZGerrit Code Review
<ul></ul><p>Patch set 8 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1764082013-08-05T18:02:22ZGerrit Code Review
<ul></ul><p>Patch set 9 for branch <strong>master</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/18290">https://review.typo3.org/18290</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1764122013-08-05T18:30:24ZStefan Neufeindtypo3.neufeind@speedpartner.de
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[FEATURE] Find best-matching local storage instead of default-storage If no storage-UID is given..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/c111ddecca0f903a98a57b3d3bd1bbca2c999826">c111ddecca0f903a98a57b3d3bd1bbca2c999826</a>.</p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1787962013-08-24T23:44:40ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>TYPO3_6-1</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/23291">https://review.typo3.org/23291</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1787972013-08-25T00:23:12ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_6-0</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/23292">https://review.typo3.org/23292</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1805662013-09-03T16:07:34ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_6-0</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/23557">https://review.typo3.org/23557</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1805822013-09-03T16:37:45ZGerrit Code Review
<ul></ul><p>Patch set 1 for branch <strong>TYPO3_6-1</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/23560">https://review.typo3.org/23560</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1806462013-09-04T00:51:46ZGerrit Code Review
<ul></ul><p>Patch set 2 for branch <strong>TYPO3_6-0</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/23557">https://review.typo3.org/23557</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1806472013-09-04T00:54:49ZGerrit Code Review
<ul></ul><p>Patch set 2 for branch <strong>TYPO3_6-1</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/23560">https://review.typo3.org/23560</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1814132013-09-07T08:44:37ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>TYPO3_6-1</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/23560">https://review.typo3.org/23560</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1814142013-09-07T08:52:49ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>TYPO3_6-0</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/23557">https://review.typo3.org/23557</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1815052013-09-08T21:30:26ZStefan Neufeindtypo3.neufeind@speedpartner.de
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li></ul><p>Applied in changeset <a class="changeset" title="[FEATURE] Find best-matching local storage instead of default-storage If no storage-UID is given..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/046967d98785ce5a363158661f061b9ae505d248">046967d98785ce5a363158661f061b9ae505d248</a>.</p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1836162013-09-20T16:04:42Zaimcom no-lastname-givenhosting@aimcom.de
<ul></ul><p>In one of my TYPO3 projects, I ran into a major issue which is related to this new method <code>findBestMatchingStorageByLocalPath(&$localPath)</code>. The image rendering doesn't work any more if an image is not located in one of the configured file storages.</p>
<p><b>Example</b></p>
<p>I have configured two different file storages: <code>fileadmin/user_upload/</code> and <code>uploads/</code>. After that, I created an empty page with a TypoScript template which contains:</p>
<pre>
page.10 = IMAGE
page.10.file = fileadmin/images/dummy.png
</pre>
<p>In TYPO3 6.1.4, the method <code>getFileObjectFromCombinedIdentifier($identifier)</code> returned the correct file object, but in TYPO3 6.1.5, this doesn't work any more because the method <code>findBestMatchingStorageByLocalPath(&$localPath)</code> returns the file storage for <code>fileadmin/user_upload/</code>, but the image is located in <code>fileadmin/images/</code>.</p>
<p><b>Question / Conclusion</b></p>
<p>What I don't know now is if this is a bug or not. Is it true that you can only use files with the cObject IMAGE if they are located in a local storage since TYPO3 6.1.5 or is there something wrong with the functionality of <code>findBestMatchingStorageByLocalPath(&$localPath)</code>? I think that the call of <code>PathUtility::getCommonPrefix(array($basePath, $localPath));</code> in <code>findBestMatchingStorageByLocalPath(&$localPath)</code> might be the source of my problem.</p>
<p>Any help is appreciated, thank you.</p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1836812013-09-22T13:44:01ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>The findBestMatchingStorageByLocalPath() method simply does not check whether the file requested actually exists in the selected storage!</p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=1836822013-09-22T13:54:01ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>Moved to a separate issue: <a class="external" href="http://forge.typo3.org/issues/52173">http://forge.typo3.org/issues/52173</a></p> TYPO3 Core - Feature #45498: Find best-matching local storage instead of default-storagehttp://forge.typo3.org/issues/45498?journal_id=3882662018-10-02T12:42:47ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>