Commit b8b8067
form spec generators: fix transform wrapper gaps
The Age generator and enable_deprecated_cascading_elements wrap their
form spec in a TransformDataForLegacyFormatOrRecomposeFunction but left
the wrapper without title and help text, so consumers reading the top
level spec - like the global settings page - rendered untitled rows.
The Age generator's from_disk transform asserted on non-integer disk
values, crashing on corrupted stored data where the legacy Age raised a
clean validation error. Raising ValueError instead lets the transform
visitor report it as a proper validation failure.
Change-Id: I50d29840f903473ec20adb383d3f34f3c94b23341 parent 4f999a6 commit b8b8067
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments