Bug #34160
closedReplacing/Overwriting a file could leave a stale index record
0%
Description
Currently, when overwriting a file, we have this situation:
- When copying a file over another file, everything is fine
- When moving a file over another file, everything is fine if only one of them (or none) is indexed
- When the new file is freshly uploaded, everything is fine
So there basically is one critical case: When two index records would point to the same location after changing them (this already fails in the indexer when detecting files moved outside of TYPO3). Currently there is no logic to resolve such conflicts, but we should definitely have it.
In general, the simplest approach would be to take the most recently updated index entry and change the references to all other conflicting files to point to this uid. However, the infrastructure for these operations is still missing (e.g. in the repository)
Updated by Andreas Wolf over 12 years ago
- Subject changed from Replacing/Overwriting a file coule leave a stale index record to Replacing/Overwriting a file could leave a stale index record
Updated by Steffen Ritter about 12 years ago
- Target version changed from 6.0 beta1 to 6.0 beta 2
Updated by Andreas Wolf almost 12 years ago
- Status changed from New to Accepted
- Target version changed from 6.0 beta 2 to 6.1
Updated by Andreas Wolf almost 12 years ago
- Project changed from 1401 to TYPO3 Core
- Target version deleted (
6.1)
Updated by Andreas Wolf almost 12 years ago
- Category set to File Abstraction Layer (FAL)
- Target version set to 6.1.0
- TYPO3 Version set to 6.0
Updated by Steffen Ritter over 10 years ago
- Status changed from Accepted to Needs Feedback
- Assignee deleted (
Andreas Wolf) - Target version deleted (
6.1.0) - Is Regression set to No
I don't think we will fix that in 6.1/6.0 anymore
Updated by Stefan Neufeind over 10 years ago
Is that solved with 45110 for 6.2 already? If no files are duplicate in 6.2 anymore, do we need a "deduplication" upon upgrade maybe? But since we might have references to the old IDs I expect that might not be possible.
Updated by Alexander Opitz about 10 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.