joomla-cms
joomla-cms copied to clipboard
[4.1] Make it Optional to Save Response from the GET Request Task Routine
Addresses a concern from #36201.
Summary of Changes
- Saving responses from the GET Request is now optional and disabled by default.
- The saved result now uses the
tmp_dirfrom the global configuration.
Testing Instructions
- Make a task
G1with the GET Request routine, keep "Save Response" disabled. - Make another task
G2with "Save Response" enabled. - Trigger the tasks either by waiting or by manually running from the list view.
Actual result BEFORE applying this Pull Request
- There is no option to not save the response.
- Response is saved in the
tmp/directory blind to thetmp_dirconfiguration.
Expected result AFTER applying this Pull Request
- There is an option to not save the response making retention opt-in. Response for the
G1task is not saved while response for theG2task is saved. tmp_dirconfiguration is respected.
Documentation Changes Required
nil
This pull request has automatically rebased to 4.2-dev.
This pull request has been automatically rebased to 5.0-dev.
Needs to updated, Call to undefined method Joomla\Component\Scheduler\Administrator\Table\TaskTable::getCurrentUser()
Needs to updated, Call to undefined method Joomla\Component\Scheduler\Administrator\Table\TaskTable::getCurrentUser()
is fixed in 5.0 already, but this pr conflicts and has to be resolved
This pull request has been automatically rebased to 5.1-dev.
This pull request has been automatically rebased to 5.2-dev.