Bug #78278

Flexform Suggest Wizard delivers Error 500

Added by Joe Schäfer over 2 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-10-13
Due date:
% Done:

0%

TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Using the Suggest Wizard in Flexforms won't work (again).

The ajax call delivers an error 500:

Argument 3 passed to TYPO3\CMS\Backend\Form\Wizard\SuggestWizard::overrideFieldNameAndConfigurationForFlexform() must be of the type array, boolean given,...

The current situation is as follows:

  • Plugin from custom extension with flexform with suggest wizard
  • In setup of plugin the wizard returns no results (inspector tells that error 500 is returned)

bug_flexformvssuggestwizard.gif View - Error is thrown in Backend (547 KB) Joe Schäfer, 2016-10-13 11:43

StackTrace500.html View - Error 500 stack trace (10.9 KB) Joe Schäfer, 2016-10-14 09:42

History

#1 Updated by Wouter Wolters over 2 years ago

  • Status changed from New to Needs Feedback

Which version of TYPO3 CMS 7.6 are you using?

#2 Updated by Joe Schäfer over 2 years ago

I actually use TYPO3 CMS 7.6.11

#3 Updated by Wouter Wolters over 2 years ago

Ok thanks for reporting back. Are you able to get the stack trace of the 500 error?

#4 Updated by Joe Schäfer over 2 years ago

Of course!
I attached the 500 stack trace (HTML, no error log since I don't have the server credentials with me right now).

I hope that helps.

#5 Updated by Wouter Wolters over 2 years ago

I tried to reproduce this with a flexform on my dev system but I can't reproduce it.

Does this also happen when opening an existing record?

#6 Updated by Joe Schäfer over 2 years ago

Yes. Also happens while editing an existing plugin.

My flexform looks like

<T3DataStructure>
    <meta>
        <langDisable>1</langDisable>
    </meta>
    <sheets>
        <sDEF>
            <ROOT>
                <TCEforms>
                    <sheetTitle>General</sheetTitle>
                </TCEforms>
                <type>array</type>
                <el>
                    <settings.matrixproducts.selectedProducts>
                        <exclude>1</exclude>
                        <label>Produkte</label>
                        <config>
                            <type>group</type>
                            <internal_type>db</internal_type>
                            <allowed>tx_matrixproducts_domain_model_product</allowed>
                            <foreign_table>tx_matrixproducts_domain_model_product</foreign_table>
                            <size>8</size>
                            <minitems>1</minitems>
                            <show_thumbs>1</show_thumbs>
                            <wizards>
                                <suggest>
                                    <type>suggest</type>
                                </suggest>
                            </wizards>
                        </config>
                    </settings.matrixproducts.selectedProducts>
                </el>
            </ROOT>
        </sDEF>
    </sheets>
</T3DataStructure>

By default the SuggestWizard searches in all pages, or not?

#7 Updated by Johannes Schlier about 2 years ago

I'm having the same issue.
I'm also trying to add a suggest wizard and use TYPO3 7.6.11, but using PHP 5.5.9

#8 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Needs Feedback to New

#9 Updated by Georg Ringer 2 months ago

  • Status changed from New to Needs Feedback

I can't reproduce that on 8 or 9. can you retest there as well? thanks

#10 Updated by Joe Schäfer 2 months ago

Georg Ringer wrote:

I can't reproduce that on 8 or 9. can you retest there as well? thanks

Seems to work in 8 and 9 (w/ PHP 7.2).

#11 Updated by Riccardo De Contardi about 2 months ago

@Joe Schäfer hi and thank you for your answer; do you think that this issue can be closed or is there still work to do on this topic? Thank you!

#12 Updated by Joe Schäfer about 2 months ago

Since all stable Versions seem OK. I am fine with closing this task/bug.

#13 Updated by Wouter Wolters about 2 months ago

  • Status changed from Needs Feedback to Closed

Closed as reporter reports it works in latest versions

Also available in: Atom PDF