Project

General

Profile

Actions

Bug #16830

open

restClient Special Column Exception Handling

Added by Philipp Gröbelbauer 10 months ago. Updated 9 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Carsten Rose
Target version:
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

clipboard-202309051600-0p7po.png View clipboard-202309051600-0p7po.png 17.4 KB Philipp Gröbelbauer, 05.09.2023 16:00
Actions

Also available in: Atom PDF