Project

General

Profile

Actions

Bug #96027

closed

FlexForm: Typolink link browser/wizard doesn not open in popup

Added by Joerg Boesche over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2021-11-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

A flexform of a content element with a link list does not open the link wizard in a popup.
Is this a new bug or a configuration problem? (Screenshots)

The is no JavaScript error or an unsuccessful response in the Dev Tools.
FlexForm config for the element (link):

<?xml version="1.0" encoding="UTF-8"?>
<T3DataStructure>
    <meta>
        <langDisable>1</langDisable>
    </meta>
    <ROOT>
        <type>array</type>
        <el>
            <linklist>
                <type>array</type>
                <section>1</section>
                <el>
                    <item>
                        <title>LLL:EXT:acme/Resources/Private/Language/locallang_db.xlf:linklist</title>
                        <type>array</type>
                        <el>
                          <linkitem_link>
                              <TCEforms>
                                  <label>LLL:EXT:acme/Resources/Private/Language/locallang_db.xlf:linkitem_link</label>
                                  <config>
                                      <type>input</type>
                                      <renderType>inputLink</renderType>
                                      <size>30</size>
                                      <eval>trim,required</eval>
                                      <fieldControl>
                                          <linkPopup>
                                              <renderType>linkPopup</renderType>
                                          </linkPopup>
                                      </fieldControl>
                                  </config>
                              </TCEforms>
                          </linkitem_link>
                        </el>
                    </item>
                </el>
            </linklist>
        </el>
    </ROOT>
</T3DataStructure>

All other TCA configs with the renderType=inputLink still working. E.g. header_link, but not inside of a flexform configuration.

----
In T3 version 11.5.3 the linkpopup /modal doesnt open.
In T3 version 11.5.2 the linkpopup /modal opens and the Link Browser is visible.


Files

flexform_2.png (60.2 KB) flexform_2.png Wizard is opened in the same frame and not modal/popup Joerg Boesche, 2021-11-18 11:07
flexform_1.png (17.7 KB) flexform_1.png Click on the link button, to open the link wizard Joerg Boesche, 2021-11-18 11:07

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #96009: inputType=inputLink not working anymore in IRREClosed2021-11-17

Actions
Related to TYPO3 Core - Task #95954: Reduce inline JavaScript in FormEngine AJAX responsesClosedOliver Hader2021-11-10

Actions
Related to TYPO3 Core - Bug #96073: TCA form validation error with FlexForm sectionsRejected2021-11-25

Actions
Actions #1

Updated by Oliver Hader over 2 years ago

  • Is duplicate of Bug #96009: inputType=inputLink not working anymore in IRRE added
Actions #2

Updated by Oliver Hader over 2 years ago

  • Status changed from New to Needs Feedback

Please test change at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72214 (which is merged already in 11.5 and master branch). Most probably that should fix the problem you described...

Actions #3

Updated by Oliver Hader over 2 years ago

  • Tags set to pending-close
Actions #4

Updated by Joerg Boesche over 2 years ago

A new experience is that the Link Wizard works (popup) as an independent element outside of the section. This appears to be a problem with <section>.

Flexform example with a link outside of the section and inside of a section:

<?xml version="1.0" encoding="UTF-8"?>
<T3DataStructure>
    <meta>
        <langDisable>1</langDisable>
    </meta>
    <ROOT>
        <type>array</type>
        <el>
            <linkitem_link_outside>
                <TCEforms>
                    <label>LLL:EXT:acme/Resources/Private/Language/locallang_db.xlf:linkitem_link</label>
                    <config>
                        <type>input</type>
                        <renderType>inputLink</renderType>
                        <size>30</size>
                        <eval>trim,required</eval>
                    </config>
                </TCEforms>
            </linkitem_link_outside>
            <linklist>
                <type>array</type>
                <section>1</section>
                <el>
                    <item>
                        <title>LLL:EXT:acme/Resources/Private/Language/locallang_db.xlf:linklist</title>
                        <type>array</type>
                        <el>
                            <linkitem_link>
                                <TCEforms>
                                    <label>LLL:EXT:acme/Resources/Private/Language/locallang_db.xlf:linkitem_link</label>
                                    <config>
                                        <type>input</type>
                                        <renderType>inputLink</renderType>
                                        <size>30</size>
                                        <eval>trim,required</eval>
                                    </config>
                                </TCEforms>
                            </linkitem_link>
                        </el>
                    </item>
                </el>
            </linklist>
        </el>
    </ROOT>
</T3DataStructure>

Actions #5

Updated by Oliver Hader over 2 years ago

  • Is duplicate of deleted (Bug #96009: inputType=inputLink not working anymore in IRRE)
Actions #6

Updated by Oliver Hader over 2 years ago

  • Related to Bug #96009: inputType=inputLink not working anymore in IRRE added
Actions #7

Updated by Oliver Hader over 2 years ago

  • Related to Task #95954: Reduce inline JavaScript in FormEngine AJAX responses added
Actions #8

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72231

Actions #9

Updated by Oliver Hader over 2 years ago

  • Tags deleted (pending-close)
Actions #10

Updated by Joerg Boesche over 2 years ago

Tested with the patchset https://review.typo3.org/c/Packages/TYPO3.CMS/+/72231 and the link browser (popup) works again in and outside of flexform sections.

Actions #11

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72124

Actions #12

Updated by Oliver Hader over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #13

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72124

Actions #14

Updated by Oliver Hader over 2 years ago

  • Status changed from Under Review to Resolved
Actions #15

Updated by Joerg Boesche over 2 years ago

  • Related to Bug #96073: TCA form validation error with FlexForm sections added
Actions #16

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF