Bug #96027
closedFlexForm: Typolink link browser/wizard doesn not open in popup
100%
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
Updated by Oliver Hader about 3 years ago
- Is duplicate of Bug #96009: inputType=inputLink not working anymore in IRRE added
Updated by Oliver Hader about 3 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...
Updated by Joerg Boesche about 3 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>
Updated by Oliver Hader about 3 years ago
- Is duplicate of deleted (Bug #96009: inputType=inputLink not working anymore in IRRE)
Updated by Oliver Hader about 3 years ago
- Related to Bug #96009: inputType=inputLink not working anymore in IRRE added
Updated by Oliver Hader about 3 years ago
- Related to Task #95954: Reduce inline JavaScript in FormEngine AJAX responses added
Updated by Gerrit Code Review about 3 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
Updated by Joerg Boesche about 3 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.
Updated by Gerrit Code Review about 3 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
Updated by Oliver Hader about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c8155922242d52e29173efecc89e23bc071d1451.
Updated by Gerrit Code Review about 3 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
Updated by Oliver Hader about 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset 550d8dade6e871ad56e55dbb269066cb603a7579.
Updated by Joerg Boesche about 3 years ago
- Related to Bug #96073: TCA form validation error with FlexForm sections added