Bug #91190

Flex form: displayCond on a field references a field or field / sheet combination that is not found in data values

Added by Dirk Wildt about 1 year ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2020-04-25
Due date:
% Done:

0%

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

Description

My flex form is running proper in admin context.

My flex form causes this error in user context:

Flex form displayCond on field "settings.flexform.pi1.ctrl.plugin.external.singlepid" on flex form sheet "ctrl" references a field or field / sheet combination "ctrl.settings.flexform.pi1.ctrl.plugin.single" that might be defined in given data structure but is not found in data values.

User has access to all tables and fields.

My flex form configuration

<settings.flexform.pi1.ctrl.plugin.single>
    <TCEforms>
        <exclude>1</exclude>
        <label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.plugin.single</label>
        <onChange>reload</onChange>
        <config>
            <type>select</type>
            <foreign_table>tt_content</foreign_table>
            <foreign_table_where>list_type = 'xblog_pi1' ORDER BY title</foreign_table_where>
            <items type="array">
                <numIndex index="0" type="array">
                    <numIndex index="0">LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.plugin.single.default</numIndex>
                    <numIndex index="1"></numIndex>
                </numIndex>
                <numIndex index="1" type="array">
                    <numIndex index="0">LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.plugin.single.external</numIndex>
                    <numIndex index="1">-1</numIndex>
                </numIndex>
            </items>
            <maxitems>1</maxitems>
            <minitems>1</minitems>
            <size>1</size>
        </config>
    </TCEforms>
</settings.flexform.pi1.ctrl.plugin.single>
<settings.flexform.pi1.ctrl.plugin.external.singlepid>
    <TCEforms>
        <exclude>0</exclude>
        <label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:label.singlepid</label>
        <displayCond>FIELD:ctrl.settings.flexform.pi1.ctrl.plugin.single:=:-1</displayCond>
        <config>
            <type>group</type>
            <internal_type>db</internal_type>
            <allowed>pages</allowed>
            <size>1</size>
            <maxitems>1</maxitems>
            <minitems>0</minitems>
            <show_thumbs>1</show_thumbs>
            <wizards>
                <suggest>
                    <type>suggest</type>
                </suggest>
            </wizards>
            <eval>required</eval>
        </config>
    </TCEforms>
</settings.flexform.pi1.ctrl.plugin.external.singlepid>

I checked the issues

But they didn't solved my bug.

Do you have any idea, how to solve this bug?

Kind regards
Dirk


Related issues

Related to TYPO3 Core - Bug #80163: Flexform displaycond with switchableControllerActions sys_category tree not workingClosed2017-03-07

Actions
Related to TYPO3 Core - Bug #79657: Flexform: Ajax tree loading crashes on display conditionClosedChristian Kuhn2017-02-07

Actions
#1

Updated by Dirk Wildt about 1 year ago

Bug is solved. User didn't have access to all fields of xBlog content elements.

Please set status to solved.

#2

Updated by Georg Ringer about 1 year ago

  • Related to Bug #80163: Flexform displaycond with switchableControllerActions sys_category tree not working added
#3

Updated by Georg Ringer about 1 year ago

  • Related to Bug #79657: Flexform: Ajax tree loading crashes on display condition added
#4

Updated by Georg Ringer about 1 year ago

  • Status changed from New to Rejected

Also available in: Atom PDF