Bug #41496
Upload identical Resources, deleting fails
Status: | New | Start date: | 2012-10-01 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Resource | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | FLOW3 1.1.0 |
Description
If you have models where you can attach/upload Resources the deletion will fail.
Due to a Foreign key constraint in typo3_flow3_resource_resource the resourcepointer is inserted multiple times.
When you try to delete the model the resourcepointer can not be deletet because its still available in the resource table due to the connection of the same hash to the typo3_flow3_resource_resource.
My Idea for fixing it adding the system time to the hash.