Task #53655
closed
Epic #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
Added by Stefan Weißwange about 11 years ago.
Updated about 7 years ago.
Category:
File Abstraction Layer (FAL)
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.
To reproduce:
- 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" />_)
- Status changed from New to Accepted
Could you test this with current master? I think #53614 fixed this issue. Can not reproduce the problem as you describe.
Just checked again, you're right. When moving the whole folder the hash values in sys_file aren't updated.
- Status changed from Accepted to Under Review
- 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
- Assignee set to Steffen Ritter
- % Done changed from 0 to 100
- Estimated time set to 0.00 h
- Complexity set to medium
- Parent task set to #54267
- % Done changed from 100 to 70
- Status changed from Under Review to Resolved
- % Done changed from 70 to 100
- % Done changed from 100 to 90
- % Done changed from 90 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF