Project

General

Profile

Actions

Bug #92144

open

T3DataStructure with field pid will throw RuntimeException

Added by Marc Lindemann about 4 years ago. Updated 6 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2020-08-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

<T3DataStructure>
 <meta type="array">
  <langDisable>1</langDisable>
 </meta>
 <sheets type="array">
      <sDEF1 type="array">
           <ROOT type="array">
            <TCEforms type="array">
                 <sheetTitle>LLL:EXT:xxx/locallang_flexform.xml:xxx.sheet_1</sheetTitle>
            </TCEforms>
            <type>array</type>
            <el>
            <pid>
                <TCEforms>
                        <label>LLL:EXT:xxx/locallang_flexform.xml:xxx.pid</label>
                        <config>
                            <type>group</type>    
                            <internal_type>db</internal_type>
                            <allowed>pages</allowed>
                            <minitems>1</minitems>
                            <maxitems>1</maxitems>
                        </config>
                    </TCEforms>
             </pid>
               </el>
           </ROOT>
      </sDEF1>
 </sheets>
</T3DataStructure>

will raise

(1/1) #1521220142 RuntimeException
inlineFirstPid should either be an integer or a "NEW..." string

in /var/www/typo3/public_html/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php line 118

same works in V7 oder with different a name (<pid> -> <someName>)

Actions #1

Updated by Georg Ringer 6 months ago

  • Status changed from New to Accepted

still valid in v13

Actions

Also available in: Atom PDF