Issue Bug Accepted Orphaned

#92144T3DataStructure with field pid will throw RuntimeException

Marc Lindemann 08/31/20, 17:44 updated 05/27/24, 19:49

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> -&gt; <somename>)</somename></pid>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] T3DataStructure with field pid will throw RuntimeException Resolves: #92144 Releases: main