ContentElement upload - inconsistent timestamp updating
The timestamp of the upload contentElement doesn't change when adding file references.
How to reproduce:
- Create new upload content element. Add an file reference and watch the timestamp.
- Add another file reference. Watch the timestamp again. It doesn't change.
- Delete the file reference. Watch the timestamp. Now the timestamp changes.
Updated by Alexander Wende about 8 years ago
I noticed that this bug affects all inlineElements.
TYPO3\CMS\Core\DataHandling\DataHandler->checkValue_inline() returns nothing when adding new inline elements. So if nothing else than the inline element is changed, TYPO3\CMS\Core\DataHandling\DataHandler->fillInFieldArray() will return an empty array and no new timestamp will be generated