Bug #40033
Relation lost after renaming folder
Status: | Resolved | Start date: | 2012-08-21 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Steffen Ritter | % Done: | 100% |
|
Category: | File Abstraction Layer (FAL) | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.0 | Is Regression: | ||
PHP Version: | Sprint Focus: | |||
Complexity: | hard |
Description
If a folder is renamed in the filemanager the identifier of sys_file_processedfile will not be updated.
Using a file storage /Content
Inserted an image CE /Content/Slider/ImageX.gif
Renamed "Slider" to "TopSlider"
Image source is the old one. src="/Content/Slider/ImageX.gif"
The behaviour is really strange. If I delete the CE and create a new one (border is set to 1 by default) it works. After deactivating the border it don't work any more.
Perhaps the field identifier of sys_file_processedfile will be the solution.
Related issues
Associated revisions
[TASK] Refactor FAL file processing
File processing is a central part of TYPO3's file usage, as e.g. all
images in content elements have to be resized when they don't fit the
requirements. However, the current implementation of file processing
with FAL has several drawbacks and shortcomings, not to mention quite a
few bugs.
This patch brings a completely reworked infrastructure behind the
File Processing Service, while keeping the external API unchanged.
The processing to be done is described in tasks, which are part of a
ProcessedFile's properties. The processing itself is now moved to
processors, which could execute the tasks using different utilities,
e.g. ImageMagick or some cloud image processing service. Currently,
there is only a local image processor implementation, which relies on
ImageMagick/GraphicsMagick (i.e. uses the same configuration as the old
processing).
The processed file class now also supports safe handling of unchanged
files, i.e. files that should have been processed, but didn't need
processing.
Fixes: #43059
Fixes: #39904
Fixes: #40033
Fixes: #40669
Releases: 6.0
Change-Id: I186a46f9923dacd98be655d72be2bd89b43866c2
Reviewed-on: http://review.typo3.org/14310
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
History
#1 Updated by Michael Stucki almost 3 years ago
- Priority changed from Should have to Must have
Can someone confirm this?
#2 Updated by Andreas Wolf almost 3 years ago
Hm, I think the identifiers of these processed files are currently not updated by the file/folder moving mechanism. It seems we missed all this stuff for processed files until now - but we definitely need a way to deal with this...
#3 Updated by Andreas Wolf almost 3 years ago
- Status changed from New to Accepted
#4 Updated by Steffen Ritter almost 3 years ago
- Assigned To set to Steffen Ritter
- Complexity set to hard
there are some other issues with processedfiles, too
will dig into that this afternoon
#5 Updated by Steffen Ritter almost 3 years ago
- Status changed from Accepted to On Hold
processedfiles handling is completely to be rewritten
#6 Updated by Gerrit Code Review over 2 years ago
- Status changed from On Hold to Under Review
Patch set 21 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14310
#7 Updated by Anonymous over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 66c204f0bf3e83d302e6a5f9e367ebda267a015e.