Task #53655
closedEpic #55070: Workpackages
Epic #54260: WP: FAL Missing Issues / Features / API
Story #54267: As an Editor I want to use a FAL withouth bugs
Wrong path in Frontend on moving directory in fileadmin
100%
Description
I have cut'n'pasted a folder in the fileadmin directory to another directory:
from /fileadmin/library/marketing/ to /fileadmin/library/resources/pr/marketing/.
Assets, used in content elements (fileadmin/library/marketing/image.png) which worked before the cut'n'paste dont show up afterwards, because the frontend is using a (partly) wrong path, the Image-Source references library/resources/pr/marketing/image.png. The fileadmin folder is missing in the path.
As a quick'n'dirty workaround if symlinked library to fileadmin/library, then the image is processed and displayed as accepted.
Updated by Stefan Weißwange about 11 years ago
- Create a directory in fileadmin (fileadmin/Bibliothek/test/testlibrary/)
- Upload image in directory (image.png)
- Use image within textpic
- Image is processed like expected (<img src="/fileadmin/_processed/csm_image_935ce2192e.png" />_)
- Cut'n'Paste folder to another folder (fileadmin/Bibliothek/test/another_testfolder/testlibrary/)
- Reload Page in Frontend, imagepath is wrong and image does not show up (<img src="/Bibliothek/test/another_testfolder/testlibrary/image.png" />)
- create symlink in Document Root (ln -s fileadmin/Bibliothek/ Bibliothek)
- Image is processed like expected (<img src="/typo3temp/_processed/csm_image_935ce2192e.png" />_)
Updated by Frans Saris about 11 years ago
Could you test this with current master? I think #53614 fixed this issue. Can not reproduce the problem as you describe.
Updated by Frans Saris about 11 years ago
Just checked again, you're right. When moving the whole folder the hash values in sys_file aren't updated.
Updated by Gerrit Code Review about 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25481
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25481
Updated by Steffen Ritter almost 11 years ago
- Target version changed from next-patchlevel to 6.2.0
This won't be fixed for 6.0 and 6.1 since the FAL in these branches has to many conceptional flaws
Updated by Steffen Ritter almost 11 years ago
- % Done changed from 0 to 100
- Estimated time set to 0.00 h
- Complexity set to medium
Updated by Frans Saris almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 70 to 100
Applied in changeset fc69656916adb67de29431598cce2112c1fb6416.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed