Bug #33564
Persisting image throws Exception
Status: | Resolved | Start date: | 2012-01-31 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
When trying to upload an image I get this result:
Related issues
Associated revisions
[BUGFIX] Persisting image throws Exception
The imageRepository was not of type Singelton but is a property of
the image domain model. That's why the GenericObjectValidator
tried to validate it.
Change-Id: I7122cf0e2778c07a0e0c0a419004d1e66435b565
Fixes: #33564
History
#1 Updated by Bastian Waidelich over 3 years ago
- Project changed from TYPO3.Neos to TYPO3.Media
- Status changed from New to Accepted
- Assigned To set to Bastian Waidelich
- Priority changed from Should have to Must have
#2 Updated by Bastian Waidelich over 3 years ago
- Subject changed from Uploading an image is broken to Persisting image throws Exception
#3 Updated by Adrian Föder over 3 years ago
inserting
@FLOW3\Scope("singleton")
at the ImageRepository fixes the issue; removing it makes the error occur again (just for evidence it's the actual reason)
#4 Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8782
#5 Updated by Bastian Waidelich over 3 years ago
- Status changed from Accepted to Under Review
BTW: I think, this behavior changed with http://forge.typo3.org/issues/32700
#6 Updated by Bastian Waidelich about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100