Bug #36958
Empty image title results in exception
Status: | Resolved | Start date: | 2012-05-08 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Adrian Föder | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
SQLSTATE23000: Integrity constraint violation: 1048 Column 'title' cannot be null
This has been introduced by:
http://git.typo3.org/FLOW3/Packages/TYPO3.Media.git?a=commit;h=6e958f2f3b5113aefcd22d871f87a6f74ef8361a
Possible solution:
1. Set the default value of the title to ''
or
2. Annotate with "to be null"
or
3. Make the image title mandatory
I would go for 1 for now.
Associated revisions
[BUGFIX] Correct Image title's default value according to Database
With 6e958f2f3b5113aefcd22d871f87a6f74ef8361a (#35059) the
database fields are set to not being NULLable, so the title
property should be an empty string per default, not NULL.
Change-Id: I3c5b77e344da3f7c7ed78faa69056362151adf1c
Fixes: #36958
History
#1 Updated by Adrian Föder about 3 years ago
- Status changed from New to Accepted
- Assigned To set to Adrian Föder
#2 Updated by Gerrit Code Review about 3 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11108
#3 Updated by Adrian Föder about 3 years ago
- Status changed from Accepted to Under Review
#4 Updated by Adrian Föder about 3 years ago
- Status changed from Under Review to Resolved
Resolved and merged in master, see Gerrit-reviews.