Actions
Bug #16830
openrestClient Special Column Exception Handling
Start date:
05.09.2023
Due date:
% Done:
0%
Estimated time:
Discuss:
Prio Planung:
No
Vote:
Description
The _restClient special column throws an exception if the call fails (e.g. server not reachable/ wrong url).
Example Call:
SELECT CONCAT('n:{{MY_URL:Y}}/typo3conf/ext/qfq/Classes/Api/rest.php/lectureREST|content:{"module": "', ev.module, '", "semester":"', sem.short, '", "eventType":"', IF(ev.eventType = 'Lecture', 'VL', IF(ev.eventType = 'Exercise', 'UE', '')),'"}|method:GET') AS '_restClient|_hide'
Can lead to an exeption that will take up the whole page:
The exception should not interfere with the rest of the page!
The user can already read if success/error from {{http-status:C}} and react to that. The exception could result in a status 500.
Files
Actions