Issue Bug Closed

#95484Empty json responses cause JavaScript errors and error notifications in backend

Benjamin Franzke 10/06/21, 04:11 updated 10/04/22, 14:19

Description

When no page is configured to be visible in the page tree, an error occurs because JsonResponse return empty string instead of [] for empty arrays.

Empty strings are invalid json, while [] would have been valid.

Screenshot:

pagetree-empty-error.png

Reviews 1