#18626"Type" field in child element makes IRRE unusable
Description
If child element contains a type field, changing this field will cause form to reload. After reloading child element will not be editable anymore: it does not expand at all.
Having type field is important if child element must have different set of fields depending on the value of other fields.
I suspect the same will happen with any “requestUpdate” field.
Attached ext_tables.sql and tca.php to show how kickstarter generated this config.
When NOT using type fields, info in the database is:
mysql> select * from tx_yafi_feed \G
*************************** 1. row ***************************
uid: 6
pid: 2
tstamp: 1208420263
crdate: 1208420263
cruser_id: 2
deleted: 0
hidden: 0
starttime: 0
endtime: 0
url: 1
import_interval: 2
expires: 3
last_import: 1208409431
importer_config: 1
1 row in set (0.00 sec)
mysql> select * from tx_yafi_importer \G
*************************** 1. row ***************************
uid: 11
pid: 2
tstamp: 1208420263
crdate: 1208420263
cruser_id: 2
deleted: 0
importer_type: 999
importer_conf: <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3FlexForms>
<data>
<sheet index="sDEF">
<language index="lDEF">
<field index="xmlTitle">
<value index="vDEF"></value>
</field>
<field index="xmlText">
<value index="vDEF"></value>
</field>
</language>
</sheet>
</data>
</T3FlexForms>
irre_parent_uid: 6
irre_parent_table: tx_yafi_feed
1 row in set (0.00 sec)
When using type field it is:
mysql> select * from tx_yafi_feed \G
*************************** 1. row ***************************
uid: 7
pid: 2
tstamp: 1208420582
crdate: 1208420582
cruser_id: 2
deleted: 0
hidden: 0
starttime: 0
endtime: 0
url: 1
import_interval: 2
expires: 3
last_import: 1208409765
importer_config: 1
1 row in set (0.00 sec)
mysql> select * from tx_yafi_importer \G
*************************** 1. row ***************************
uid: 12
pid: 2
tstamp: 1208420582
crdate: 1208420582
cruser_id: 2
deleted: 0
importer_type: 999
importer_conf: <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3FlexForms>
<data>
<sheet index="sDEF">
<language index="lDEF">
<field index="xmlTitle">
<value index="vDEF"></value>
</field>
<field index="xmlText">
<value index="vDEF"></value>
</field>
</language>
</sheet>
</data>
</T3FlexForms>
irre_parent_uid: 7
irre_parent_table: tx_yafi_feed
1 row in set (0.00 sec)
Looks all ok but child item does not expand and cannot be edited inside parent item.
(issue imported from #M8135)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.