Bug #57495
closedMetadata db insert fails due to NULL value
100%
Description
The MetaDataRepository::createMetaDataRecord() function checks the TYPO3_MODE to decide the value of the cruser_id field.
When this is executed in the Install Tool Standalone context the TYPO3_MODE is BE, but no BE_USER is available.
So this results in NULL being assigned for the cruser_id field.
A subsequent database insert fails because of the column being defined as NOT NULL.
This leads to the problem that no metadata records are created for migrated files and the subsequent upgrader adds empty metadata records, lacking the width/height information.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/29028
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/29028
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/29028
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/29028
Updated by Gerrit Code Review over 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/29028
Updated by Gerrit Code Review over 10 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/29028
Updated by Markus Klein over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 38f484e0efc0b817c34c7e9bb9c6cfe721dd8e87.