Project

General

Profile

Actions

Bug #86396

closed

search_result_labels setting ignored when executing System Action

Added by Sascha Löffler over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2018-09-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #86336: search_result_labels setting ignored when executing System ActionClosedSascha Löffler2018-09-20

Actions
Actions

Also available in: Atom PDF