Issue Bug Closed

#109401Use database column as source of truth for form identifier

Josua Vogel 03/27/26, 13:05 updated 03/31/26, 08:09

Description

When loading a form definition from the form_definition database table, the DatabaseStorageAdapter::read() method parsed the identifier from the JSON payload stored in the configuration column. However, the findAll() method (used for listings) read the identifier from the dedicated identifier database column.

This inconsistency meant that if the identifier in the JSON payload ever diverged from the database column (e.g. through direct database manipulation or import), the system would behave inconsistently.

The fix ensures that read() always takes the identifier from the database column, making it the single source of truth across all operations.

Reviews 1

History 23

  1. Gerrit Code Review pushed patch set 1 for main to change 93399 status New Under Review 03/27/26, 13:06

  2. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % 03/27/26, 16:00

    Applied in changeset commit:65650712c2db23bdcdf2f3023d52c1090e8cef20.

  3. Benni Mack changed status Resolved Closed 03/31/26, 08:09