Bug #48474
closed
Suggest Wizard doesn't work properly when inside Flexform repeating elements
Added by Gabe Blair over 11 years ago.
Updated about 6 years ago.
Category:
Backend User Interface
Description
The "suggest" wizard does not work properly when it is added to a field on a repeating flexform element. Screenshot attached.
I'll attache a patch, which breaks out a small component of TYPO3\CMS\Backend\Form\Element\SuggestElement::processAjaxRequest() into a recursive function to handle the determination of conf for a particular DS field.
Files
Patch attached. Should I try to submit this to code review, or...?
- Status changed from New to Under Review
Attached is a sample extension to use for testing this (to go along with the latest patch set). Hopefully that will be enough to get this patch rolled into the next release. To use the test extension:
- Install it from either the .t3x or .tar.gz attached
- Add a content element of type "Example for Bug #48474" to a page
- Try out the suggest wizard on the "Repeating Element" tab - should be broken
- Cherry pick the patch from Gerritt
- Try out the suggest wizard again - should work
I included non-repeating element with a suggest wizard on another flexform tab, so you can verify that continues to work before and after the patch
Thanks and regards,
Gabe
- Target version changed from 6.1.1 to next-patchlevel
Hi Gabe,
thanks for your help. Please, can you rebase your patch to latest master? As it can't be merged anymore.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF