Project

General

Profile

Actions

Bug #18626

closed

"Type" field in child element makes IRRE unusable

Added by Dmitry Dulepov over 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-04-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

ext_tables.sql (2.33 KB) ext_tables.sql Administrator Admin, 2008-04-17 10:07
tca.php (11.9 KB) tca.php Administrator Admin, 2008-04-17 10:07
Actions

Also available in: Atom PDF