Project

General

Profile

Actions

Bug #17937

closed

Cannot create more than 9 related records in IRRE

Added by Mischa almost 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-12-18
Due date:
% Done:

0%

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

Description

On my new extension, IRRE shows a strange behaviour:

I can only create up to 9 related items in the sub-sub-relation.

Example:

Table.
IRRE Element A
IRRE Subelement 1
IRRE Subelement 2
IRRE Subelement 3
IRRE Subelement 4
IRRE Subelement 5
IRRE Subelement 6
IRRE Element B
IRRE Subelement 7
IRRE Subelement 8
IRRE Subelement 9

No more IRRE Subelements are possible. If I delete one of them, I can create
a new one.

My TCA:

for "Table":

"tx_powermail_fieldsets" => Array(
"label" =>
"LLL:EXT:powermail/locallang_db.xml:tx_powermail_forms.fieldsets",
"config" => Array (
"type" => "inline",
"foreign_table" => "tx_powermail_fieldsets",
"foreign_field" => "form",
'foreign_sortby' => 'sorting',
'foreign_label' => 'title',
'maxitems' => 1000,
'appearance' => Array(
'collapseAll' => 1,
'expandSingle' => 1,
'useSortable' => 1,
'newRecordLinkAddTitle' => 1,
'newRecordLinkPosition' => 'both',
),
)
),

for IRRE Element A:

"fields" => Array(
"label" =>
"LLL:EXT:powermail/locallang_db.xml:tx_powermail_fieldsets.fields",
"config" => Array (
"type" => "inline",
"foreign_table" => "tx_powermail_fields",
"foreign_field" => "fieldset",
"maxitems" => 1000,
'appearance' => Array(
'collapseAll' => 1,
'expandSingle' => 1,
'useSortable' => 1,
'newRecordLinkAddTitle' => 1,
'newRecordLinkPosition' => 'both',
),
)
)

Any suggestions?

(issue imported from #M7003)


Files

T3X_powermail-0_1_0-z-200712181321.t3x (74.4 KB) T3X_powermail-0_1_0-z-200712181321.t3x Administrator Admin, 2007-12-18 13:20
ext_tables.sql (2.33 KB) ext_tables.sql Administrator Admin, 2007-12-18 22:23
T3X_powermail-0_1_0-z-200712191051.t3x (78.6 KB) T3X_powermail-0_1_0-z-200712191051.t3x Administrator Admin, 2007-12-19 10:51

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #16945: Hardened-PHP / Suhosin / suhosin.executor.max_depth / ALERT - maximum execution depth reachedClosedIngo Renner2007-02-06

Actions
Related to TYPO3 Core - Bug #19885: Adding more then x IRRE child-records causes system logoutClosedChristian Kuhn2009-01-22

Actions
Actions #1

Updated by Oliver Hader almost 17 years ago

The attached extension uses data2cal which doesn't work correctly with IRRE. This might be (part of) the problem. Furthermore it seems that some fields are missing in ext_tables.sql because I got a lot of SQL debug errors...

Actions #2

Updated by Mischa almost 17 years ago

New ext_tables.sql uploaded. But error still remains. Will test disabling date2cal.

Actions #3

Updated by Mischa almost 17 years ago

I've registered a 2 new strange behaviours:

1. If a mandantory field is set in an IRRE-Set and it's not filled out you cannot save the whole Form when you delete this IRRE-Set.

2. If I try to add a 10th IRRE-Set in 2nd level, I'm not able to save or close the form anymore.

Actions #4

Updated by Oliver Hader almost 17 years ago

What is the exact TYPO3 version you're using?

Actions #5

Updated by Mischa almost 17 years ago

It was not working on 4.1.3, 4.1.4 and 4.1.5

Actions #6

Updated by Mischa almost 17 years ago

Even turning off date2cal doesn't solve this problem.

We additionally changed the way of fetching the XML for flexform. First we created a temporary xml-file whenever needed. Now we have several different files. But this didn't change anything except increasing speed of the backend. ;-)

Will it help to get access to our TYPO3 Backend?

Actions #7

Updated by Mischa almost 17 years ago

Sorry for posting so much, but I think this will help. I try to find solutions as well. So I followed the Relationships of this thread and found a patch. But this - unfortunately - doesn't work in my case.

Actions #8

Updated by Mischa almost 17 years ago

I installed this plugin on a bandnew version of TYPO3 (4.1.5 and 4.1.2) without any other ext. but both are not working.
Is it possible that my php-version or MySQL cause the problem?

PHP 5.2.4
MySQL: 5.0.45

Actions #9

Updated by Mischa almost 17 years ago

I think I could point out the problem.
One of my fields in Level 3 is a flex-field. In my oppinion, either TYPO3 get confused with the sum of flexforms to be built or my server can't handle the amount of flexforms.

After turning off the flex-field, everything worked properly.

Actions #10

Updated by Oliver Hader almost 17 years ago

Hm. I investigated in a similar problem where a maximum of 10 items could be created. But there were no flexforms at all. After searching for a while, the "error" was found in a Suhosin add-on for PHP (http://www.hardened-php.net/suhosin/) which seemed to block parts of the POST-data sent to typo3/alt_doc.php.

Disabling Suhosin also caused the bug to disappear. Please tell me what you experienced about that.

Actions #11

Updated by Oliver Hader almost 17 years ago

Mischa told me via private mail, that this is working now on his system and that also Suhosin installed.

Actions #12

Updated by Oliver Hader almost 17 years ago

Since this issue is not related to the TYPO3 Core but more to strict and hardened PHP versions on some systems, I'm closing this issue. Feel free to reopen if you think, that the TYPO3 Core has to be changed in any way though.

Actions

Also available in: Atom PDF