Bug #26142
closedMedia field in pages_language_overlay differs from field in pages table
100%
Description
The field "media" in the pages table is of type "text" while in the table pages_language_overlay it's of type "tinytext". We encountered a problem when adding some files to the media field of a page, and wanting to do the same on the translated page (yes, long file names involved...)
Steps to reproduce:
- create a page
- add some file to the media field, best some with long file names and/or a long path within fileadmin
- save and check in the db > filenames should be stored properly
- create a translation of this page
- add the same files to the media field of the "alternate page language" record
- save -> the filenames get cropped since the DB field is too short to save all of the data
Expected behaviour:
The translated page record should behave like the page itself and store the path/filenames correctly.
Needed changes:
Since the TCA looks the same for the two fields, I assume only the DB schema needs to be adapted.
Since the fix of this bug will include changes to the DB schema, I set the target version to 4.6.0.