Actions
Bug #79598
closedFilenames get truncated after charcters when using export t3d with file-format XML
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2017-02-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Filenames get truncated after charcters when using export t3d with file-format XML
TYPO3-Version = 7.6.15
Action:
Select a page from the pageTree -> context menu -> Export to .t3d
Export Settings:
All tables
Save files in extra folder beside the export file:...
File format = XML
Result:
The XML file gets created in the target folder (fileadmin/user_upload/temp/importexport/)
Problem:
The filenames in this xml get truncated after 40 characters.
Excerpt of the xml:
<rec index="9705" type="array"> <uid>9705</uid> <pid>423</pid> <title>Bikeservice-text-and-image-bikeguidine.j...</title> <size>929</size> <relations index="rels" type="array"> <element index="sys_file:3252" type="array"> <id>3252</id> <table>sys_file</table> </element> </relations> <softrefs type="array"></softrefs> </rec>
Responsible Code part
../typo3/sysext/impext/Classes/Export.php
... public function export_addRecord($table, $row, $relationLevel = 0) { // ... // line 318: $headerInfo['title'] = GeneralUtility::fixed_lgd_cs(BackendUtility::getRecordTitle($table, $row), 40); // ... } ...
Question/Request
Is this a bug or is there a good reason for truncating the filename after 40 characters?
Actions