Issue Bug Closed

#54804Flexform - Link Bug

Tobias Pierschel 01/07/14, 14:32 updated 02/26/16, 16:10

Description

Hi,

i configured a flexform element. Everything works fine, except for links.

            <test>
                <TCEforms>
                    <exclude>1</exclude>
                    <label>Link</label>
                    <config>
                        <type>input</type>
                        <eval>trim</eval>
                        <size>60</size>
                        <default></default>
                        <wizards type="array">
                            <_PADDING type="integer">2</_PADDING>
                            <link type="array">
                            <type>popup</type>
                            <title>Link</title>
                            <icon>link_popup.gif</icon>
                            <script>
                            browse_links.php?mode = wizard
                            </script>
                            <JSopenParams>height=500,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
                            </link>
                        </wizards>
                    </config>
                </TCEforms>
            </test>

The field is displayed. When I click on the linkthe “pop-up” window apears with the message “Request-URI Too Large”.
I thought at first this could be the error “http://forge.typo3.org/issues/34420”.

I invested a little bit and found that the link contains a lot of “20%” signs.

http://netinventors.de/typo3/browse_links.php?mode=wizard&P[fieldConfig][type]=input&P[fieldConfig][eval]=trim&P[fieldConfig][size]=60&P[fieldConfig][default]=&P[fieldConfig][wizards][_PADDING]=2&P[fieldConfig][wizards][link][type]=popup&P[fieldConfig][wizards][link][title]=Link&P[fieldConfig][wizards][link][icon]=link_popup.gif&P[fieldConfig][wizards][link][script]=browse_links.php%3Fmode%3Dwizard&P[fieldConfig][wizards][link][JSopenParams]=height%3D500%2Cwidth%3D500%2Cstatus%3D0%2Cmenubar%3D0%2Cscrollbars%3D1&P[fieldConfig][form_type]=input&P[fieldConfig][ds][*,gridelements_pi1]=%3CT3DataStructure%3E%0A%20%20%20%20%3Cmeta%3E%0A%20%20%20%20%20%20%20%20%3ClangDisable%3E1%3C%2FlangDisable%3E%0A%20%20%20%20%3C%2Fmeta%3E%0A%20%20%20%20%3CROOT%20type%3D%22array%22%3E%0A%20%20%20%20%20%20%20%20%3Ctype%3Earray%3C%2Ftype%3E%0A%20%20%20%20%20%20%20%20%3Cel%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20 and so on

I’ve found that the complete flexform is transmitted in the link. Is this a wanted behavoir?

My workarround is to clean up the flexform xml file and write the hole file in one line.

Reviews 0

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