Issue Task Resolved

#111093Guard nullable values in backend modules

Benjamin Kott 10/15/26, 21:01 updated 11/18/26, 18:15

Description

The JavaScript of the admin panel and of the modules for backend users, reactions, recycler, redirects, scheduler and workspaces reads values that can be missing at runtime without a check: elements returned by querySelector(), closest() and getElementById(), and dataset attributes. A missing element then throws a TypeError, and a missing attribute ends up as the string undefined or as NaN.

These places should get a guard or a fallback where the value can really be missing, and a non-null assertion where the module’s own markup guarantees it

Reviews 2

History 210

  1. Benjamin Kott commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-18T18:15:11+00:00" > 11/18/26, 18:15 </span>

    Applied in changeset commit:40c8294e69e20abf46b231765b8206c9b4d5f6f7.