Bug #86396
closedsearch_result_labels setting ignored when executing System Action
100%
Description
When creating a SQL Query Action for example to export a CSV, the setting `Use formatted strings, labels and dates instead of original values for results` is correctly used in the Query Editor, but when executing the Action, it is ignored and always enabled.
In /typo3/sysext/sys_action/Classes/ActionTask.php
on line 826
$GLOBALS['SOBE']->MOD_SETTINGS['search_result_labels'] = 1;
should be
$GLOBALS['SOBE']->MOD_SETTINGS['search_result_labels'] = $sql_query['qC']['search_result_labels'];
Also for TYPO3 v9 the settings should be correctly set for the QueryView.
See also #86336 for the same issue in TYPO3 v8
Updated by Sascha Löffler about 6 years ago
- Related to Bug #86336: search_result_labels setting ignored when executing System Action added
Updated by Gerrit Code Review about 6 years ago
- Status changed from New 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/58406
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58406
Updated by Tymoteusz Motylewski about 6 years ago
please create just one ticket even if multiple TYPO3 versions are affected.
Updated by Sascha Löffler about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3ced58e99dd69f7b5727242d26cb265c329d2a23.
Updated by Gerrit Code Review about 6 years ago
- Status changed from Closed to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58839
Updated by Sascha Löffler almost 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset 4bd4c8b8dd0ed7dfc2f43d917dcbe2e8070a9d86.