[TYPO3-dev] IRRE mm-table TCEforms data format
Franz Holzinger
franz at fholzinger.com
Sat Aug 30 21:42:34 CEST 2008
Hello,
the IRRE TCEforms data format at the moment uses
<span
id="data[39][table1][9][table2_uid][table1_mm_table2][NEW48b9972750bba]_label">title
or table2</span>
However this info is not sufficient and causes the bug that such a
record is inserted into the database
table1_mm_table2:
uid_table1 = 9
uid_table2 = 0
However it should have been saved as
table1_mm_table2:
uid_table1 = 9
uid_table2 = 12
So e.g. the uid of table2 should be = 12
The transmitted data contains a record table2 with uid = 12. However it
could be wanted to add more than one record of table2 at the same time.
You can add multiple records with IRRE without doing a save. Then you
press save and want to have a copy of all records (maybe even changed)
be added into the mm table table1_mm_table2.
This is a bug with IRRE in TYPO3. You cannot add a copy of a record
table2 from the select of table2 (entered at another uid of table1) and
save it for another table1 record.
So it would be necessary to add also the uid of table2 to the record
from above. It would be no solution to just check all sent data, because
multiple records could be saved at the same time and you would not know
which of them belong together with uids.
Maybe like a mirror around the mm table:
1) <span
id="data[39][table1][9][table2_uid][table1_mm_table2][table1_uid][12][table2][NEW48b9972750bba]_label">title
or table2</span>
or like this:
2) <span
id="data[39][table1][9][table2_uid][table1_mm_table2][table1_uid][table2][12][NEW48b9972750bba]_label">title
or table2</span>
Or the table2_uid is redundant, because it has been stored in TCA.
3) <span
id="data[39][table1][9][table1_mm_table2][table2][12][NEW48b9972750bba]_label">title
or table2</span>
Which format do you prefer or is there any specific requirement for this?
Franz
More information about the TYPO3-dev
mailing list