Commit 84f22765 authored by Anja Leichsenring's avatar Anja Leichsenring Committed by Christian Kuhn
Browse files

[TASK] Extract inline mn attribute scenario from ext:irre_tutorial

The scenario provided by tables tx_irretutorial_mnasym_* gets
its own test extension and gets loaded where needed.

Resolves: #96458
Releases: main, 11.5
Change-Id: I905bc6b7e33c54e343828f9569624fdd60042c2d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72899


Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 89050f92
......@@ -17,28 +17,6 @@
<source>IRRE Tutorial Test Page</source>
</trans-unit>
<trans-unit id="tx_irretutorial_mnasym_hotel" resname="tx_irretutorial_mnasym_hotel">
<source>m:n ASym: Hotels</source>
</trans-unit>
<trans-unit id="tx_irretutorial_mnasym_hotel_offer_rel" resname="tx_irretutorial_mnasym_hotel_offer_rel">
<source>m:n ASym: Hotels&lt;-&gt;Offers</source>
</trans-unit>
<trans-unit id="tx_irretutorial_mnasym_offer" resname="tx_irretutorial_mnasym_offer">
<source>m:n ASym: Offers</source>
</trans-unit>
<trans-unit id="tx_irretutorial_mnasym_price" resname="tx_irretutorial_mnasym_price">
<source>m:n ASym: Prices</source>
</trans-unit>
<trans-unit id="tx_irretutorial_mnattr_hotel" resname="tx_irretutorial_mnattr_hotel">
<source>m:n Attr: Hotels</source>
</trans-unit>
<trans-unit id="tx_irretutorial_mnattr_hotel_offer_rel" resname="tx_irretutorial_mnattr_hotel_offer_rel">
<source>m:n Attr: Hotels&lt;-&gt;Offers</source>
</trans-unit>
<trans-unit id="tx_irretutorial_mnattr_offer" resname="tx_irretutorial_mnattr_offer">
<source>m:n Attr: Offers</source>
</trans-unit>
<trans-unit id="tx_irretutorial_hotel.title" resname="tx_irretutorial_hotel.title">
<source>Title:</source>
</trans-unit>
......
......@@ -4,7 +4,7 @@ declare(strict_types=1);
return [
'ctrl' => [
'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_mnasym_hotel',
'title' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline_hotel',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
......@@ -18,7 +18,7 @@ return [
'enablecolumns' => [
'disabled' => 'hidden',
],
'iconfile' => 'EXT:irre_tutorial/Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
'iconfile' => 'EXT:test_irre_mnattributeinline/Resources/Public/Icons/icon_hotel.gif',
'versioningWS' => true,
'origUid' => 't3_origuid',
],
......@@ -39,8 +39,8 @@ return [
'items' => [
['', 0],
],
'foreign_table' => 'tx_irretutorial_mnasym_hotel',
'foreign_table_where' => 'AND {#tx_irretutorial_mnasym_hotel}.{#pid}=###CURRENT_PID### AND {#tx_irretutorial_mnasym_hotel}.{#sys_language_uid} IN (-1,0)',
'foreign_table' => 'tx_testirremnattributeinline_hotel',
'foreign_table_where' => 'AND {#tx_testirremnattributeinline_hotel}.{#pid}=###CURRENT_PID### AND {#tx_testirremnattributeinline_hotel}.{#sys_language_uid} IN (-1,0)',
'default' => 0,
],
],
......@@ -61,7 +61,7 @@ return [
'title' => [
'exclude' => true,
'l10n_mode' => 'prefixLangTitle',
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_hotel.title',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__hotel.title',
'config' => [
'type' => 'input',
'size' => 30,
......@@ -70,10 +70,10 @@ return [
],
'offers' => [
'exclude' => true,
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_hotel.offers',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__hotel.offers',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_irretutorial_mnasym_hotel_offer_rel',
'foreign_table' => 'tx_testirremnattributeinline_hotel_offer_rel',
'foreign_field' => 'hotelid',
'foreign_sortby' => 'hotelsort',
'foreign_label' => 'offerid',
......@@ -88,8 +88,8 @@ return [
],
'types' => [
'0' => ['showitem' =>
'--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tabs.general, title, offers,' .
'--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden',
'--div--;LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tabs.general, title, offers,' .
'--div--;LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden',
],
],
'palettes' => [
......
......@@ -4,7 +4,7 @@ declare(strict_types=1);
return [
'ctrl' => [
'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_mnasym_hotel_offer_rel',
'title' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline_hotel_offer_rel',
'label' => 'uid',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
......@@ -17,7 +17,7 @@ return [
'enablecolumns' => [
'disabled' => 'hidden',
],
'iconfile' => 'EXT:irre_tutorial/Resources/Public/Icons/icon_tx_irretutorial_hotel_offer_rel.gif',
'iconfile' => 'EXT:test_irre_mnattributeinline/Resources/Public/Icons/icon_hotel_offer_rel.gif',
'versioningWS' => true,
'origUid' => 't3_origuid',
],
......@@ -38,8 +38,8 @@ return [
'items' => [
['', 0],
],
'foreign_table' => 'tx_irretutorial_mnasym_hotel_offer_rel',
'foreign_table_where' => 'AND {#tx_irretutorial_mnasym_hotel_offer_rel}.{#pid}=###CURRENT_PID### AND {#tx_irretutorial_mnasym_hotel_offer_rel}.{#sys_language_uid} IN (-1,0)',
'foreign_table' => 'tx_testirremnattributeinline_hotel_offer_rel',
'foreign_table_where' => 'AND {#tx_testirremnattributeinline_hotel_offer_rel}.{#pid}=###CURRENT_PID### AND {#tx_testirremnattributeinline_hotel_offer_rel}.{#sys_language_uid} IN (-1,0)',
'default' => 0,
],
],
......@@ -58,32 +58,32 @@ return [
],
],
'hotelid' => [
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_hotel_offer_rel.hotelid',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__hotel_offer_rel.hotelid',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_irretutorial_mnasym_hotel',
'foreign_table_where' => 'AND {#tx_irretutorial_mnasym_hotel}.{#pid}=###CURRENT_PID### AND {#tx_irretutorial_mnasym_hotel}.{#sys_language_uid}="###REC_FIELD_sys_language_uid###"',
'foreign_table' => 'tx_testirremnattributeinline_hotel',
'foreign_table_where' => 'AND {#tx_testirremnattributeinline_hotel}.{#pid}=###CURRENT_PID### AND {#tx_testirremnattributeinline_hotel}.{#sys_language_uid}="###REC_FIELD_sys_language_uid###"',
'maxitems' => 1,
'default' => 0,
],
],
'offerid' => [
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_hotel_offer_rel.offerid',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__hotel_offer_rel.offerid',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_irretutorial_mnasym_offer',
'foreign_table_where' => 'AND {#tx_irretutorial_mnasym_offer}.{#pid}=###CURRENT_PID### AND {#tx_irretutorial_mnasym_offer}.{#sys_language_uid}="###REC_FIELD_sys_language_uid###"',
'foreign_table' => 'tx_testirremnattributeinline_offer',
'foreign_table_where' => 'AND {#tx_testirremnattributeinline_offer}.{#pid}=###CURRENT_PID### AND {#tx_testirremnattributeinline_offer}.{#sys_language_uid}="###REC_FIELD_sys_language_uid###"',
'maxitems' => 1,
'default' => 0,
],
],
'prices' => [
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_hotel_offer_rel.prices',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__hotel_offer_rel.prices',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_irretutorial_mnasym_price',
'foreign_table' => 'tx_testirremnattributeinline_price',
'foreign_field' => 'parentid',
'maxitems' => 10,
'appearance' => [
......@@ -106,8 +106,8 @@ return [
],
'types' => [
'0' => ['showitem' =>
'--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tabs.general, title, hotelid, offerid, prices,' .
'--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden, hotelsort, offersort',
'--div--;LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tabs.general, title, hotelid, offerid, prices,' .
'--div--;LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden, hotelsort, offersort',
],
],
'palettes' => [
......
......@@ -4,7 +4,7 @@ declare(strict_types=1);
return [
'ctrl' => [
'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_mnasym_offer',
'title' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline_offer',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
......@@ -18,7 +18,7 @@ return [
'enablecolumns' => [
'disabled' => 'hidden',
],
'iconfile' => 'EXT:irre_tutorial/Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
'iconfile' => 'EXT:test_irre_mnattributeinline/Resources/Public/Icons/icon_offer.gif',
'versioningWS' => true,
'origUid' => 't3_origuid',
],
......@@ -39,8 +39,8 @@ return [
'items' => [
['', 0],
],
'foreign_table' => 'tx_irretutorial_mnasym_offer',
'foreign_table_where' => 'AND {#tx_irretutorial_mnasym_offer}.{#pid}=###CURRENT_PID### AND {#tx_irretutorial_mnasym_offer}.{#sys_language_uid} IN (-1,0)',
'foreign_table' => 'tx_testirremnattributeinline_offer',
'foreign_table_where' => 'AND {#tx_testirremnattributeinline_offer}.{#pid}=###CURRENT_PID### AND {#tx_testirremnattributeinline_offer}.{#sys_language_uid} IN (-1,0)',
'default' => 0,
],
],
......@@ -61,7 +61,7 @@ return [
'title' => [
'exclude' => true,
'l10n_mode' => 'prefixLangTitle',
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_offer.title',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__offer.title',
'config' => [
'type' => 'input',
'size' => 30,
......@@ -70,10 +70,10 @@ return [
],
'hotels' => [
'exclude' => true,
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_offer.hotels',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__offer.hotels',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_irretutorial_mnasym_hotel_offer_rel',
'foreign_table' => 'tx_testirremnattributeinline_hotel_offer_rel',
'foreign_field' => 'offerid',
'foreign_sortby' => 'offersort',
'foreign_label' => 'hotelid',
......@@ -88,8 +88,8 @@ return [
],
'types' => [
'0' => ['showitem' =>
'--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tabs.general, title, hotels,' .
'--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden',
'--div--;LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tabs.general, title, hotels,' .
'--div--;LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden',
],
],
'palettes' => [
......
......@@ -4,7 +4,7 @@ declare(strict_types=1);
return [
'ctrl' => [
'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_mnasym_price',
'title' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline_price',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
......@@ -18,7 +18,7 @@ return [
'enablecolumns' => [
'disabled' => 'hidden',
],
'iconfile' => 'EXT:irre_tutorial/Resources/Public/Icons/icon_tx_irretutorial_price.gif',
'iconfile' => 'EXT:test_irre_mnattributeinline/Resources/Public/Icons/icon_price.gif',
'versioningWS' => true,
'origUid' => 't3_origuid',
],
......@@ -39,8 +39,8 @@ return [
'items' => [
['', 0],
],
'foreign_table' => 'tx_irretutorial_mnasym_price',
'foreign_table_where' => 'AND {#tx_irretutorial_mnasym_price}.{#pid}=###CURRENT_PID### AND {#tx_irretutorial_mnasym_price}.{#sys_language_uid} IN (-1,0)',
'foreign_table' => 'tx_testirremnattributeinline_price',
'foreign_table_where' => 'AND {#tx_testirremnattributeinline_price}.{#pid}=###CURRENT_PID### AND {#tx_testirremnattributeinline_price}.{#sys_language_uid} IN (-1,0)',
'default' => 0,
],
],
......@@ -66,7 +66,7 @@ return [
'title' => [
'exclude' => true,
'l10n_mode' => 'prefixLangTitle',
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_price.title',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__price.title',
'config' => [
'type' => 'input',
'size' => 30,
......@@ -75,7 +75,7 @@ return [
],
'price' => [
'exclude' => true,
'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tx_irretutorial_price.price',
'label' => 'LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tx_testirremnattributeinline__price.price',
'config' => [
'type' => 'input',
'size' => 30,
......@@ -85,8 +85,8 @@ return [
],
'types' => [
'0' => ['showitem' =>
'--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tabs.general, title, parentid, price,' .
'--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xlf:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden, parentid',
'--div--;LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tabs.general, title, parentid, price,' .
'--div--;LLL:EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden, parentid',
],
],
'palettes' => [
......
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="EXT:test_irre_mnattributeinline/Resources/Private/Language/locallang_db.xlf" date="2020-06-03T15:50:00Z" product-name="irre_tutorial">
<header/>
<body>
<trans-unit id="tabs.general" resname="tabs.general">
<source>General</source>
</trans-unit>
<trans-unit id="tabs.visibility" resname="tabs.visibility">
<source>Visibility</source>
</trans-unit>
<trans-unit id="pages.doktype.div.irre" resname="pages.doktype.div.irre">
<source>IRRE Tutorial</source>
</trans-unit>
<trans-unit id="pages.doktype.I.233" resname="pages.doktype.I.233">
<source>IRRE Tutorial Test Page</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline_hotel" resname="tx_testirremnattributeinline_hotel">
<source>m:n ASym: Hotels</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline_hotel_offer_rel" resname="tx_testirremnattributeinline_hotel_offer_rel">
<source>m:n ASym: Hotels&lt;-&gt;Offers</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline_offer" resname="tx_testirremnattributeinline_offer">
<source>m:n ASym: Offers</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline_price" resname="tx_testirremnattributeinline_price">
<source>m:n ASym: Prices</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__mnattr_hotel" resname="tx_testirremnattributeinline__mnattr_hotel">
<source>m:n Attr: Hotels</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__mnattr_hotel_offer_rel" resname="tx_testirremnattributeinline__mnattr_hotel_offer_rel">
<source>m:n Attr: Hotels&lt;-&gt;Offers</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__mnattr_offer" resname="tx_testirremnattributeinline__mnattr_offer">
<source>m:n Attr: Offers</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel.title" resname="tx_testirremnattributeinline__hotel.title">
<source>Title:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel.offers" resname="tx_testirremnattributeinline__hotel.offers">
<source>Offers:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel.branches" resname="tx_testirremnattributeinline__hotel.branches">
<source>Branches:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_rel" resname="tx_testirremnattributeinline__hotel_rel">
<source>Hotels&lt;-&gt;Hotels</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_rel.hotelid" resname="tx_testirremnattributeinline__hotel_rel.hotelid">
<source>Hotel:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_rel.branchid" resname="tx_testirremnattributeinline__hotel_rel.branchid">
<source>Branch:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel" resname="tx_testirremnattributeinline__hotel_offer_rel">
<source>Hotels&lt;-&gt;Offers</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.hotelid" resname="tx_testirremnattributeinline__hotel_offer_rel.hotelid">
<source>Hotel:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.offerid" resname="tx_testirremnattributeinline__hotel_offer_rel.offerid">
<source>Offer:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.prices" resname="tx_testirremnattributeinline__hotel_offer_rel.prices">
<source>Prices:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.quality" resname="tx_testirremnattributeinline__hotel_offer_rel.quality">
<source>Quality:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.quality.I.0" resname="tx_testirremnattributeinline__hotel_offer_rel.quality.I.0">
<source>(1 star) *</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.quality.I.1" resname="tx_testirremnattributeinline__hotel_offer_rel.quality.I.1">
<source>(2 stars) **</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.quality.I.2" resname="tx_testirremnattributeinline__hotel_offer_rel.quality.I.2">
<source>(3 stars) ***</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.quality.I.3" resname="tx_testirremnattributeinline__hotel_offer_rel.quality.I.3">
<source>(4 stars) ****</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.quality.I.4" resname="tx_testirremnattributeinline__hotel_offer_rel.quality.I.4">
<source>(5 stars) *****</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__hotel_offer_rel.allincl" resname="tx_testirremnattributeinline__hotel_offer_rel.allincl">
<source>all inclusive:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__offer.title" resname="tx_testirremnattributeinline__offer.title">
<source>Title:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__offer.hotels" resname="tx_testirremnattributeinline__offer.hotels">
<source>Hotels:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__offer.prices" resname="tx_testirremnattributeinline__offer.prices">
<source>Prices:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__price.title" resname="tx_testirremnattributeinline__price.title">
<source>Title:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__price.offers" resname="tx_testirremnattributeinline__price.offers">
<source>Offers:</source>
</trans-unit>
<trans-unit id="tx_testirremnattributeinline__price.price" resname="tx_testirremnattributeinline__price.price">
<source>Price (EUR):</source>
</trans-unit>
</body>
</file>
</xliff>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#FF8700" d="M0 0h64v64H0z"/><path fill="#FFF" d="M42.8 32.8c-3.6 0-8.1-10.1-8.1-15.1 0-2.3.9-2.7 3.2-2.7 5.5 0 11 .9 11 4-.1 6.2-4 13.8-6.1 13.8zM28.5 18.5c0 5 6.4 20.2 10.7 20.2.5 0 .9-.1 1.4-.2-3.8 6.1-8.4 10.6-11.2 10.6-5.9 0-14.3-17.9-14.3-25.7 0-1.2.3-2.2.7-2.8 2-2.5 8.4-4.4 13.7-5-.6.4-1 1-1 2.9z"/></svg>
\ No newline at end of file
<?php
declare(strict_types=1);
$EM_CONF[$_EXTKEY] = [
'title' => 'DataHandler Testing test_irre_mnattributeinline',
'description' => 'DataHandler Testing test_irre_mnattributeinline',
'category' => 'example',
'version' => '12.0.0',
'state' => 'beta',
'clearCacheOnLoad' => 0,
'author' => 'Anja Leichsenring',
'author_email' => 'aleichsenring@ab-softlab.de',
'author_company' => '',
'constraints' => [
'depends' => [
'typo3' => '12.0.0',
'workspaces' => '12.0.0',
],
'conflicts' => [],
'suggests' => [],
],
];
......@@ -7,5 +7,5 @@ use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
defined('TYPO3') or die();
ExtensionManagementUtility::allowTableOnStandardPages(
'tx_irretutorial_mnasym_hotel,tx_irretutorial_mnasym_hotel_offer_rel,tx_irretutorial_mnasym_offer,tx_irretutorial_mnasym_price'
'tx_testirremnattributeinline_hotel,tx_testirremnattributeinline_hotel_offer_rel,tx_testirremnattributeinline_offer,tx_testirremnattributeinline_price'
);
......@@ -3,9 +3,9 @@
#######################################################################################################################
#
# Table structure for table 'tx_irretutorial_mnasym_hotel'
# Table structure for table 'tx_testirremnattributeinline_hotel'
#
CREATE TABLE tx_irretutorial_mnasym_hotel
CREATE TABLE tx_testirremnattributeinline_hotel
(
title tinytext NOT NULL,
offers int(11) DEFAULT '0' NOT NULL
......@@ -14,9 +14,9 @@ CREATE TABLE tx_irretutorial_mnasym_hotel
#
# Table structure for table 'tx_irretutorial_mnasym_hotel_offer_rel'
# Table structure for table 'tx_testirremnattributeinline_hotel_offer_rel'
#
CREATE TABLE tx_irretutorial_mnasym_hotel_offer_rel
CREATE TABLE tx_testirremnattributeinline_hotel_offer_rel
(
hotelid int(11) DEFAULT '0' NOT NULL,
offerid int(11) DEFAULT '0' NOT NULL,
......@@ -28,9 +28,9 @@ CREATE TABLE tx_irretutorial_mnasym_hotel_offer_rel
#
# Table structure for table 'tx_irretutorial_mnasym_offer'
# Table structure for table 'tx_testirremnattributeinline_offer'
#
CREATE TABLE tx_irretutorial_mnasym_offer
CREATE TABLE tx_testirremnattributeinline_offer
(
title tinytext NOT NULL,
hotels int(11) DEFAULT '0' NOT NULL
......@@ -39,9 +39,9 @@ CREATE TABLE tx_irretutorial_mnasym_offer
#
# Table structure for table 'tx_irretutorial_mnasym_price'
# Table structure for table 'tx_testirremnattributeinline_price'
#
CREATE TABLE tx_irretutorial_mnasym_price
CREATE TABLE tx_testirremnattributeinline_price
(
parentid int(11) DEFAULT '0' NOT NULL,
title tinytext NOT NULL,
......
......@@ -32,7 +32,7 @@ class IrreTutorialRecordsTest extends AbstractImportExportTestCase
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mm',
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnsymmetric',
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield',
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial',
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnattributeinline',
'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnattributesimple',
];
......
......@@ -33,18 +33,18 @@
,2,1,1,0,0,1,0,0,2,"tx_testirreforeignfield_offer",,"Price 2.1.1 (nff)",5467567.00
,3,1,1,0,0,1,0,0,1,"tx_testirreforeignfield_offer",,"Price 1.2.1 (nff)",678.00
,4,1,1,0,0,1,0,0,3,"tx_testirreforeignfield_offer",,"Price 1.1.1 (nff)",4.00
"tx_irretutorial_mnasym_hotel",,,,,,,,,,,,,
"tx_testirremnattributeinline_hotel",,,,,,,,,,,,,
,"uid","pid","cruser_id","sys_language_uid","l18n_parent","sorting","deleted","hidden","title","offers",,,
,1,1,1,0,0,256,0,0,"Hotel 1 (m:n ASym)",2,,,
"tx_irretutorial_mnasym_hotel_offer_rel",,,,,,,,,,,,,
"tx_testirremnattributeinline_hotel_offer_rel",,,,,,,,,,,,,
,"uid","pid","cruser_id","sys_language_uid","l18n_parent","deleted","hidden","hotelid","offerid","hotelsort","offersort","prices",
,1,1,1,0,0,0,0,1,1,1,1,1,
,2,1,1,0,0,0,0,1,2,2,1,1,
"tx_irretutorial_mnasym_offer",,,,,,,,,,,,,
"tx_testirremnattributeinline_offer",,,,,,,,,,,,,
,"uid","pid","cruser_id","sys_language_uid","l18n_parent","sorting","deleted","hidden","title","hotels",,,
,1,1,1,0,0,256,0,0,"Offer 1 (m:n ASym)",1,,,
,2,1,1,0,0,128,0,0,"Offer 2 (m:n ASym)",1,,,
"tx_irretutorial_mnasym_price",,,,,,,,,,,,,
"tx_testirremnattributeinline_price",,,,,,,,,,,,,
,"uid","pid","cruser_id","sys_language_uid","l18n_parent","sorting","deleted","hidden","parentid","title","price",,
,1,1,1,0,0,1,0,0,1,"Price 2 1:1 (m:n ASym)",45.00,,
,2,1,1,0,0,1,0,0,2,"Price 1 1:2 (m:n ASym)",678.00,,
......
......@@ -294,7 +294,7 @@
<price>5467567.00</price>
<sorting>1024</sorting>
</tx_testirreforeignfield_price>
<tx_irretutorial_mnasym_hotel>
<tx_testirremnattributeinline_hotel>
<uid>1</uid>
<pid>1</pid>
<cruser_id>1</cruser_id>
......@@ -307,8 +307,8 @@
<title>Hotel 1 (m:n ASym)</title>
<offers>2</offers>
<sorting>128</sorting>
</tx_irretutorial_mnasym_hotel>
<tx_irretutorial_mnasym_hotel_offer_rel>
</tx_testirremnattributeinline_hotel>
<tx_testirremnattributeinline_hotel_offer_rel>
<uid>1</uid>
<pid>1</pid>
<cruser_id>1</cruser_id>
......@@ -322,8 +322,8 @@