Project

General

Profile

Bug #79598

Updated by Benjamin Eyring about 7 years ago

*Filenames get truncated trancated 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: 

 <pre> 
     <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> 
 </pre> 

 *Responsible Code part* 

 ../typo3/sysext/impext/Classes/Export.php 

 <pre> 
 ... 
 public function export_addRecord($table, $row, $relationLevel = 0) 
     { 
      // ... 
      // line 318: 
      $headerInfo['title'] = GeneralUtility::fixed_lgd_cs(BackendUtility::getRecordTitle($table, $row), 40); 
      // ... 
     } 
 ... 

 </pre> 

 *Question/Request* 

 Is this a bug or is there a good reason for truncating the filename after 40 characters?

Back