#111381Form metadata is read incorrectly for multi-line, quoted or commented YAML values
Description
To list forms quickly, ext:form reads the metadata of .form.yaml files (identifier, type, label, prototypeName) line by line instead of parsing the whole file. Each value is taken from its first line only:
- label: >- or label: | with indented lines → empty label
- a quoted or plain label spanning several lines → empty or truncated label
- identifier: contact # comment → identifier contact # comment
- identifier: ‘it’‘s’ → identifier it’‘s (not unescaped)
Affected are the form manager list and the form selection of the form plugin. The upgrade wizard “Migrate file-based forms to database storage” contains a copy of the same logic.
Expected: values are read like by the YAML parser, without giving up the performance gained by #86000.
Reviews 2
History 27
-
Gerrit Code Review pushed patch set 1 for main to change 97438 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-09T13:44:07+00:00" > 11/09/26, 13:44 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97438 <span data-processor="relativetime" data-value="2026-11-11T16:08:05+00:00" > 11/11/26, 16:08 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97600 <span data-processor="relativetime" data-value="2026-11-13T09:27:36+00:00" > 11/13/26, 09:27 </span>
-
Josua Vogel commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-13T09:30:19+00:00" > 11/13/26, 09:30 </span> -
Gerrit Code Review pushed patch set 2 for 14.3 to change 97600 status
ResolvedUnder Review <span data-processor="relativetime" data-value="2026-11-13T14:04:01+00:00" > 11/13/26, 14:04 </span> -
Gerrit Code Review pushed patch set 3 for 14.3 to change 97600 <span data-processor="relativetime" data-value="2026-11-14T21:05:07+00:00" > 11/14/26, 21:05 </span>
-
Josua Vogel commented and changed status
Under ReviewResolved <span data-processor="relativetime" data-value="2026-11-19T15:35:11+00:00" > 11/19/26, 15:35 </span>Applied in changeset commit:eada3ee6f51da8585a250f1a42e506721b25753f.
Applied in changeset commit:747107b0255a7f5eccf6796b91b4c3df87f4c5b0.