Commit efc53ef3 authored by Christian Kuhn's avatar Christian Kuhn Committed by Frank Nägler
Browse files

[BUGFIX] mssql: ext:impexp test fixes

The patch adds fixture comparison files
for mssql platform on ext:impexp functional
tests.

Change-Id: I2ff9048b9f6395c555f72a68b16684e9bf22de84
Resolves: #81501
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53153


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Tested-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
parent 325d95b9
......@@ -9,7 +9,7 @@ $EM_CONF[$_EXTKEY] = [
'createDirs' => '',
'clearcacheonload' => 0,
'author' => 'Christian Kuhn',
'author_email' => 'lolli@schwarzu.ch',
'author_email' => 'lolli@schwarzbu.ch',
'constraints' => [
'depends' => [
'typo3' => '8.7.0-0.0.0',
......
......@@ -13,7 +13,7 @@ return [
'versioningWS' => true,
'origUid' => 't3_origuid',
'transOrigDiffSourceField' => 'l18n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
......
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3RecordDocument>
<header type="array">
<records type="array">
<table index="pages" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>0</pid>
<title>Root</title>
<size>138</size>
<relations index="rels" type="array"></relations>
<softrefs type="array"></softrefs>
</rec>
</table>
<table index="tx_impexpgroupfiles_item" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>1</pid>
<title>Test item</title>
<size>204</size>
<relations index="rels" type="array">
<element index="sys_file:3" type="array">
<table>sys_file</table>
<id>3</id>
</element>
</relations>
<softrefs type="array"></softrefs>
<filerefs type="array">
<file index="0">66a2b7534be9ebf810cd55164c5f085d</file>
</filerefs>
</rec>
</table>
<table index="sys_file" type="array">
<rec index="3" type="array">
<uid>3</uid>
<pid>0</pid>
<title>typo3_image5.jpg</title>
<size>532</size>
<relationLevel>1</relationLevel>
<relations index="rels" type="array">
<element index="sys_file_storage:1" type="array">
<id>1</id>
<table>sys_file_storage</table>
</element>
</relations>
<softrefs type="array"></softrefs>
</rec>
</table>
<table index="sys_file_storage" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>0</pid>
<title>fileadmin/ (auto-created)</title>
<size>694</size>
<relationLevel>2</relationLevel>
<relations index="rels" type="array"></relations>
<softrefs type="array"></softrefs>
</rec>
</table>
</records>
<pid_lookup type="array">
<page_contents index="0" type="array">
<table index="pages" type="array">
<item index="1">1</item>
</table>
<table index="sys_file" type="array">
<item index="3">1</item>
</table>
<table index="sys_file_storage" type="array">
<item index="1">1</item>
</table>
</page_contents>
<page_contents index="1" type="array">
<table index="tx_impexpgroupfiles_item" type="array">
<item index="1">1</item>
</table>
</page_contents>
</pid_lookup>
<pagetree type="array">
<node index="1" type="array">
<uid>1</uid>
</node>
</pagetree>
<files type="array">
<file index="66a2b7534be9ebf810cd55164c5f085d" type="array">
<filesize>6758</filesize>
<filename>typo3_image4.jpg</filename>
<filemtime>1393866824</filemtime>
<relFileRef>uploads/tx_impexpgroupfiles/typo3_image4.jpg</relFileRef>
<record_ref>tx_impexpgroupfiles_item:1/images</record_ref>
</file>
</files>
<files_fal type="array">
<file index="23116a2a95820388bb7eede903382d4c" type="array">
<filesize>7425</filesize>
<filename>typo3_image5.jpg</filename>
<filemtime>1393432183</filemtime>
</file>
</files_fal>
</header>
<records type="array">
<tablerow index="pages:1" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">1</field>
<field index="pid" type="integer">0</field>
<field index="deleted" type="integer">0</field>
<field index="perms_everybody" type="integer">15</field>
<field index="hidden" type="integer">0</field>
<field index="title">Root</field>
<field index="doktype" type="integer">1</field>
</fieldlist>
<related index="rels" type="array"></related>
</tablerow>
<tablerow index="tx_impexpgroupfiles_item:1" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">1</field>
<field index="pid" type="integer">1</field>
<field index="deleted" type="integer">0</field>
<field index="hidden" type="integer">0</field>
<field index="title">Test item</field>
<field index="images">typo3_image4.jpg</field>
<field index="image_references">fileadmin/user_upload/typo3_image5.jpg</field>
</fieldlist>
<related index="rels" type="array">
<field index="images" type="array">
<type>file</type>
<filerefs index="newValueFiles" type="array">
<file index="0" type="array">
<filename>typo3_image4.jpg</filename>
<ID>66a2b7534be9ebf810cd55164c5f085d</ID>
</file>
</filerefs>
</field>
<field index="image_references" type="array">
<type>db</type>
<relations index="itemArray" type="array">
<element index="0" type="array">
<table>sys_file</table>
<id>3</id>
</element>
</relations>
</field>
</related>
</tablerow>
<tablerow index="sys_file:3" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">3</field>
<field index="pid" type="integer">0</field>
<field index="storage" type="integer">1</field>
<field index="type">2</field>
<field index="metadata" type="integer">0</field>
<field index="identifier">/user_upload/typo3_image5.jpg</field>
<field index="identifier_hash">8180e85d25c96697ec9d2004683216831b91ffc1</field>
<field index="folder_hash">19669f1e02c2f16705ec7587044c66443be70725</field>
<field index="extension">jpg</field>
<field index="mime_type">image/jpeg</field>
<field index="name">typo3_image5.jpg</field>
<field index="sha1">c3511df85d21bc578faf71c6a19eeb3ff44af370</field>
<field index="size">7425</field>
<field index="creation_date" type="integer">1393432184</field>
<field index="modification_date" type="integer">1393432183</field>
</fieldlist>
<related index="rels" type="array">
<field index="storage" type="array">
<type>db</type>
<relations index="itemArray" type="array">
<element index="0" type="array">
<id>1</id>
<table>sys_file_storage</table>
</element>
</relations>
</field>
</related>
</tablerow>
<tablerow index="sys_file_storage:1" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">1</field>
<field index="pid" type="integer">0</field>
<field index="name">fileadmin/ (auto-created)</field>
<field index="description" type="NULL"></field>
<field index="driver">Local</field>
<field index="configuration">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;yes&quot; ?&gt;
&lt;T3FlexForms&gt;
&lt;data&gt;
&lt;sheet index=&quot;sDEF&quot;&gt;
&lt;language index=&quot;lDEF&quot;&gt;
&lt;field index=&quot;basePath&quot;&gt;
&lt;value index=&quot;vDEF&quot;&gt;fileadmin/&lt;/value&gt;
&lt;/field&gt;
&lt;field index=&quot;pathType&quot;&gt;
&lt;value index=&quot;vDEF&quot;&gt;relative&lt;/value&gt;
&lt;/field&gt;
&lt;field index=&quot;caseSensitive&quot;&gt;
&lt;value index=&quot;vDEF&quot;&gt;1&lt;/value&gt;
&lt;/field&gt;
&lt;/language&gt;
&lt;/sheet&gt;
&lt;/data&gt;
&lt;/T3FlexForms&gt;</field>
<field index="is_default" type="integer">0</field>
<field index="is_browsable" type="integer">1</field>
<field index="is_public" type="integer">1</field>
<field index="is_writable" type="integer">1</field>
<field index="is_online" type="integer">1</field>
</fieldlist>
<related index="rels" type="array">
<field index="configuration" type="array">
<type>flex</type>
<flexform index="flexFormRels" type="array">
<db_relations index="db" type="array"></db_relations>
<file_relations index="file" type="array"></file_relations>
<softref_relations index="softrefs" type="array"></softref_relations>
</flexform>
</field>
</related>
</tablerow>
</records>
<files type="array">
<file index="66a2b7534be9ebf810cd55164c5f085d" type="array">
<filesize>6758</filesize>
<filename>typo3_image4.jpg</filename>
<filemtime>1393866824</filemtime>
<relFileRef>uploads/tx_impexpgroupfiles/typo3_image4.jpg</relFileRef>
<record_ref>tx_impexpgroupfiles_item:1/images</record_ref>
<content_md5>e1c5c4e1e34e19e2facb438752e06c3f</content_md5>
</file>
</files>
<files_fal type="array">
<file index="23116a2a95820388bb7eede903382d4c" type="array">
<filesize>7425</filesize>
<filename>typo3_image5.jpg</filename>
<filemtime>1393432183</filemtime>
<content_sha1>c3511df85d21bc578faf71c6a19eeb3ff44af370</content_sha1>
</file>
</files_fal>
</T3RecordDocument>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3RecordDocument>
<header type="array">
<records type="array">
<table index="pages" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>0</pid>
<title>Root</title>
<size>138</size>
<relations index="rels" type="array"></relations>
<softrefs type="array"></softrefs>
</rec>
<rec index="2" type="array">
<uid>2</uid>
<pid>1</pid>
<title>Dummy 1-2</title>
<size>143</size>
<relations index="rels" type="array"></relations>
<softrefs type="array"></softrefs>
</rec>
</table>
<table index="tt_content" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>1</pid>
<title>Test content</title>
<size>196</size>
<relations index="rels" type="array">
<element index="sys_file_reference:1" type="array">
<id>1</id>
<table>sys_file_reference</table>
</element>
</relations>
<softrefs type="array">
<softref_element index="header_link:typolink:2487ce518ed56d22f20f259928ff43f1:0" type="array">
<field>header_link</field>
<spKey>typolink</spKey>
<matchString>file:1</matchString>
<subst type="array">
<type>db</type>
<recordRef>sys_file:1</recordRef>
<tokenID>2487ce518ed56d22f20f259928ff43f1</tokenID>
<tokenValue>file:1</tokenValue>
</subst>
</softref_element>
</softrefs>
</rec>
</table>
<table index="sys_language" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>0</pid>
<title>Deutsch</title>
<size>97</size>
<relations index="rels" type="array"></relations>
<softrefs type="array"></softrefs>
</rec>
</table>
<table index="sys_file_reference" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>1</pid>
<title>typo3_image2.jpg</title>
<size>277</size>
<relations index="rels" type="array">
<element index="sys_file:1" type="array">
<id>1</id>
<table>sys_file</table>
</element>
</relations>
<softrefs type="array"></softrefs>
</rec>
</table>
<table index="sys_file" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>0</pid>
<title>typo3_image2.jpg</title>
<size>506</size>
<relationLevel>1</relationLevel>
<relations index="rels" type="array">
<element index="sys_file_storage:1" type="array">
<id>1</id>
<table>sys_file_storage</table>
</element>
<element index="sys_file_metadata:1" type="array">
<id>1</id>
<table>sys_file_metadata</table>
</element>
<element index="sys_file_metadata:2" type="array">
<id>2</id>
<table>sys_file_metadata</table>
</element>
</relations>
<softrefs type="array"></softrefs>
</rec>
</table>
<table index="sys_file_storage" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>0</pid>
<title>fileadmin/ (auto-created)</title>
<size>694</size>
<relationLevel>2</relationLevel>
<relations index="rels" type="array"></relations>
<softrefs type="array"></softrefs>
</rec>
</table>
<table index="sys_file_metadata" type="array">
<rec index="1" type="array">
<uid>1</uid>
<pid>0</pid>
<title>typo3_image2.jpg</title>
<size>266</size>
<relationLevel>2</relationLevel>
<relations index="rels" type="array">
<element index="sys_file:1" type="array">
<id>1</id>
<table>sys_file</table>
</element>
</relations>
<softrefs type="array"></softrefs>
</rec>
<rec index="2" type="array">
<uid>2</uid>
<pid>0</pid>
<title>typo3_image2.jpg</title>
<size>263</size>
<relationLevel>2</relationLevel>
<relations index="rels" type="array">
<element index="sys_language:1" type="array">
<id>1</id>
<table>sys_language</table>
</element>
<element index="sys_file_metadata:1" type="array">
<id>1</id>
<table>sys_file_metadata</table>
</element>
<element index="sys_file:1" type="array">
<id>1</id>
<table>sys_file</table>
</element>
</relations>
<softrefs type="array"></softrefs>
</rec>
</table>
</records>
<pid_lookup type="array">
<page_contents index="0" type="array">
<table index="pages" type="array">
<item index="1">1</item>
</table>
<table index="sys_language" type="array">
<item index="1">1</item>
</table>
<table index="sys_file" type="array">
<item index="1">1</item>
</table>
<table index="sys_file_storage" type="array">
<item index="1">1</item>
</table>
<table index="sys_file_metadata" type="array">
<item index="1">1</item>
<item index="2">1</item>
</table>
</page_contents>
<page_contents index="1" type="array">
<table index="pages" type="array">
<item index="2">1</item>
</table>
<table index="tt_content" type="array">
<item index="1">1</item>
</table>
<table index="sys_file_reference" type="array">
<item index="1">1</item>
</table>
</page_contents>
</pid_lookup>
<pagetree type="array">
<node index="1" type="array">
<uid>1</uid>
<node index="subrow" type="array">
<node index="2" type="array">
<uid>2</uid>
</node>
</node>
</node>
</pagetree>
<files_fal type="array">
<file index="4a705ca3ef43b53dc00de861ba2c86af" type="array">
<filesize>7958</filesize>
<filename>typo3_image2.jpg</filename>
<filemtime>1389878273</filemtime>
</file>
</files_fal>
</header>
<records type="array">
<tablerow index="pages:1" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">1</field>
<field index="pid" type="integer">0</field>
<field index="deleted" type="integer">0</field>
<field index="perms_everybody" type="integer">15</field>
<field index="hidden" type="integer">0</field>
<field index="title">Root</field>
<field index="doktype" type="integer">1</field>
</fieldlist>
<related index="rels" type="array"></related>
</tablerow>
<tablerow index="pages:2" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">2</field>
<field index="pid" type="integer">1</field>
<field index="deleted" type="integer">0</field>
<field index="perms_everybody" type="integer">15</field>
<field index="hidden" type="integer">0</field>
<field index="title">Dummy 1-2</field>
<field index="doktype" type="integer">1</field>
</fieldlist>
<related index="rels" type="array"></related>
</tablerow>
<tablerow index="tt_content:1" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">1</field>
<field index="pid" type="integer">1</field>
<field index="t3ver_oid" type="integer">0</field>
<field index="hidden" type="integer">0</field>
<field index="CType">textpic</field>
<field index="header">Test content</field>
<field index="image" type="integer">1</field>
<field index="deleted" type="integer">0</field>
<field index="header_link">file:1</field>
</fieldlist>
<related index="rels" type="array">
<field index="image" type="array">
<type>db</type>
<relations index="itemArray" type="array">
<element index="0" type="array">
<id>1</id>
<table>sys_file_reference</table>
</element>
</relations>
</field>
<field index="header_link" type="array">
<softrefs type="array">
<keys type="array">
<softref_key index="typolink" type="array">
<softref_element index="2487ce518ed56d22f20f259928ff43f1:0" type="array">
<matchString>file:1</matchString>
<subst type="array">
<type>db</type>
<recordRef>sys_file:1</recordRef>
<tokenID>2487ce518ed56d22f20f259928ff43f1</tokenID>
<tokenValue>file:1</tokenValue>
</subst>
</softref_element>
</softref_key>
</keys>
<tokenizedContent>{softref:2487ce518ed56d22f20f259928ff43f1}</tokenizedContent>
</softrefs>
</field>
</related>
</tablerow>
<tablerow index="sys_language:1" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">1</field>
<field index="pid" type="integer">0</field>
<field index="hidden" type="integer">0</field>
<field index="title">Deutsch</field>
<field index="flag">de</field>
</fieldlist>
<related index="rels" type="array"></related>
</tablerow>
<tablerow index="sys_file_reference:1" type="array">
<fieldlist index="data" type="array">
<field index="uid" type="integer">1</field>
<field index="pid" type="integer">1</field>
<field index="uid_local" type="integer">1</field>
<field index="uid_foreign" type="integer">1</field>
<field index="tablenames">tt_content</field>
<field index="fieldname">image</field>
<field index="sorting_foreign"