Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
TYPO3:如何避免或修复XML导出中被截断的文件名?_Xml_Export_Typo3_Typo3 7.6.x - Fatal编程技术网

TYPO3:如何避免或修复XML导出中被截断的文件名?

TYPO3:如何避免或修复XML导出中被截断的文件名?,xml,export,typo3,typo3-7.6.x,Xml,Export,Typo3,Typo3 7.6.x,从TYPO3中的导出模块获取propper xml导出时遇到问题 TYPO3版本=7.6.15 行动: 从页面树->上下文菜单->导出到.t3d中选择一个页面 导出设置: 所有桌子 将文件保存在导出文件旁边的额外文件夹中: 文件格式=XML 结果: <rec index="9705" type="array"> <uid>9705</uid> <pid>423</pid> <title>Bikeservi

从TYPO3中的导出模块获取propper xml导出时遇到问题

TYPO3版本=7.6.15

行动:

  • 从页面树->上下文菜单->导出到.t3d中选择一个页面
  • 导出设置:
    • 所有桌子
    • 将文件保存在导出文件旁边的额外文件夹中:
    • 文件格式=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>
在目标文件夹(fileadmin/user\u upload/temp/importexport/)中创建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>
此xml中的文件名在43个字符后被截断

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>

9705
423
Bikeservice文本和图像bikeguidine.j。。。
929
3252
系统文件
问题

是否有人偶然发现了这个问题或找到了解决方案

谢谢,
Ben

请确保从静态关系中删除表
sys\u文件
,因为在导出过程中排除了静态关系的所有数据。

这听起来更像是一个bug。似乎如此。。。。我在导出模块(./sysext/impexp/Classes/export.php)中看到标题在40个字符后被截断。将尝试就该问题联系核心开发人员。请在bug created(已创建的bug)处创建bug: