Bug #60487
closed
File References override meta data with empty string per default
Added by Oliver Hader over 10 years ago.
Updated over 10 years ago.
Category:
FormEngine aka TCEforms
Description
On creating a new file reference (e.g. inside a tt_content element with images), the file reference properties "title", "description" and "alternative" are set to an empty string which results in overriding the meta data of the original file per default. The solution is to allow NULL as default value, which is currently casted to string if being creating as new IRRE child record.
- Subject changed from File References override meta data with empty string per defaul to File References override meta data with empty string per default
Hi Olly!
I'm not sure if I read this correctly, but I disagree. Currently the meta data are empty yes, but they do not override since the override checkbox is not enabled by default.
- Status changed from New to Closed
- TYPO3 Version changed from 6.2 to 6.1
Markus Klein wrote:
Hi Olly!
I'm not sure if I read this correctly, but I disagree. Currently the meta data are empty yes, but they do not override since the override checkbox is not enabled by default.
That's right... I experienced that in a TYPO3 6.1 project where there related issue #54412 has not been back-ported to.
Since the default value could only be a string up to TYPO3 6.2, there's unfortunately no way to back-port it.
A cherry-pick for TYPO3 6.1 can be found here however:
https://github.com/ohader/TYPO3.CMS/commit/372ea7b1150aa3176569b6e16cc4129b030b0994
Also available in: Atom
PDF