Project

General

Profile

Actions

Bug #46315

closed

flexform linkUrl for Pagebrowser

Added by Gregor Agnes about 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-03-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Tested in gridelements 1.3.2 and 1.4.0

If I create a complex flexforum with a link field like

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>

    <sheets>
        <sDEF>
            <ROOT>
                <TCEforms>
                    <sheetTitle>Inhalt</sheetTitle>
                </TCEforms>
                <type>array</type>
                <el>

                    <Url>
                        <TCEforms>
                            <label>URL</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&amp;act=file</script>
                                        <JSopenParams>height=500,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
                                        <params type="array">
                                            <ds>test</ds>
                                        </params>
                                    </link>
                                </wizards>
                            </config>
                        </TCEforms>
                    </Url>

                </el>
            </ROOT>
        </sDEF>
    </sheets>

</T3DataStructure>

The URL in the browse_links.php looks like

http://www.domain.de/typo3/browse_links.php?mode=wizard&act=file&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%26act%3Dfile&P[fieldConfig][wizards][link][JSopenParams]=height%3D500%2Cwidth%3D500%2Cstatus%3D0%2Cmenubar%3D0%2Cscrollbars%3D1&P[fieldConfig][wizards][link][params][ds]=test&P[fieldConfig][form_type]=input&P[fieldConfig][ds][*,gridelements_pi1]=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%20standalone%3D%22yes%22%20%3F%3E%0D%0A%3CT3DataStructure%3E%0D%0A%0D%0A%20%20%20%20%3Csheets%3E%0D%0A%20%20%20%20%20%20%20%20%3CsDEF%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CROOT%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CTCEforms%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CsheetTitle%3EInhalt%3C%2FsheetTitle%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2FTCEforms%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctype%3Earray%3C%2Ftype%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cel%3E%0D%0A%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CUrl%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CTCEforms%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clabel%3EZweiter%20Link%20URL%3C%2Flabel%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cconfig%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctype%3Einput%3C%2Ftype%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ceval%3Etrim%3C%2Feval%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Csize%3E60%3C%2Fsize%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdefault%3E%3C%2Fdefault%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cwizards%20type%3D%22array%22%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C_PADDING%20type%3D%22integer%22%3E2%3C%2F_PADDING%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Clink%20type%3D%22array%22%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctype%3Epopup%3C%2Ftype%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctitle%3ELink%3C%2Ftitle%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cicon%3Elink_popup.gif%3C%2Ficon%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cscript%3Ebrowse_links.php%3Fmode%3Dwizard%26amp%3Bact%3Dfile%3C%2Fscript%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CJSopenParams%3Eheight%3D500%2Cwidth%3D500%2Cstatus%3D0%2Cmenubar%3D0%2Cscrollbars%3D1%3C%2FJSopenParams%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cparams%20type%3D%22array%22%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cds%3Etest%3C%2Fds%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fparams%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Flink%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fwizards%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fconfig%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2FTCEforms%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2FUrl%3E%0D%0A%0D%0A%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fel%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2FROOT%3E%0D%0A%20%20%20%20%20%20%20%20%3C%2FsDEF%3E%0D%0A%20%20%20%20%3C%2Fsheets%3E%0D%0A%0D%0A%3C%2FT3DataStructure%3E&P[params][ds]=test&P[exampleImg]=&P[table]=tt_content&P[uid]=NEW513c76eb364a0&P[pid]=12&P[field]=pi_flexform&P[flexFormPath]=data%2FsDEF%2FlDEF%2FUrl%2FvDEF&P[md5ID]=IDb5e8a15511&P[returnUrl]=%2Ftypo3%2Falt_doc.php%3F%26edit%5Btt_content%5D%5B12%5D%3Dnew%26defVals%5Btt_content%5D%5BcolPos%5D%3D1%26defVals%5Btt_content%5D%5Bsys_language_uid%5D%3D0%26defVals%5Btt_content%5D%5BCType%5D%3Dgridelements_pi1%26defVals%5Btt_content%5D%5Btx_gridelements_backend_layout%5D%3D1%26returnUrl%3D%252Ftypo3%252Fsysext%252Fcms%252Flayout%252Fdb_layout.php%253Fid%253D12%2526&P[formName]=editform&P[itemName]=data%5Btt_content%5D%5BNEW513c76eb364a0%5D%5Bpi_flexform%5D%5Bdata%5D%5BsDEF%5D%5BlDEF%5D%5BUrl%5D%5BvDEF%5D_hr&P[fieldChangeFunc][typo3form.fieldGet]=typo3form.fieldGet%28%27data%5Btt_content%5D%5BNEW513c76eb364a0%5D%5Bpi_flexform%5D%5Bdata%5D%5BsDEF%5D%5BlDEF%5D%5BUrl%5D%5BvDEF%5D%27%2C%27trim%27%2C%27%27%2C1%2C%27%27%29%3B&P[fieldChangeFunc][TBE_EDITOR_fieldChanged]=TBE_EDITOR.fieldChanged%28%27tt_content%27%2C%27NEW513c76eb364a0%27%2C%27pi_flexform%27%2C%27data%5Btt_content%5D%5BNEW513c76eb364a0%5D%5Bpi_flexform%5D%27%29%3B&P[fieldChangeFunc][alert]=&P[fieldChangeFuncHash]=36dbbe8fb00217c25cbb94191b5cee684a7058c4&P[currentValue]=&P[currentSelectedValues]=

This is because the whole datastucture gets urlencoded to the paramteter "&P[fieldConfig][ds][*,gridelements_pi1]".

This not only true for gridelements but for all flexforms which defines link_popup wizards.

This URL is by far to long and results in an Apache-Error.

Actions #1

Updated by Gregor Agnes about 11 years ago

  • Assignee deleted (Gregor Agnes)
Actions #2

Updated by Mathias Schreiber over 9 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Mathias Schreiber
  • Is Regression set to No

Do you have an idea how this could be solved?

Actions #3

Updated by Alexander Opitz almost 9 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Mathias Schreiber)

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF