Bug #58755
closedSelect-type fields and requestUpdate broken
100%
Description
Consider the following situation: you have a table containing a select-type field with a setup such that it is displayed with two side-by-side selectors. Furthermore that select field is registered with "requestUpdate".
This does not work anymore with TYPO3 6.2. Indeed selecting an item in the left-hand selector triggers two actions:
- a confirm dialog box appears asking if we really want to reload the page
- the value selected on the left-hand side is copied to the right-hand selector.
The problem is that the second action is now triggered after the first one. It's a matter of milliseconds, but the value arrives in the left-hand column (and also the hidden field with the final values) just after the form is submitted. Thus the field stays empty.
As discussed in the Core list, a simple, very short timeout in the submission process is enough to solve the problem. It is not very elegant, but since this JS is due to be refactored anyway, it is an acceptable solution (according to Benni).
Files