Project

General

Profile

Actions

Bug #26142

closed

Media field in pages_language_overlay differs from field in pages table

Added by Mario Rimann about 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
Start date:
2011-04-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #28317: Increase "maxitems" for media in TCA of pagesClosed2011-07-19

Actions
Actions

Also available in: Atom PDF