Placing a value in the new custom header middleware and attempting to save results in the following JS console error.
TypeError: Cannot read properties of undefined (reading '0')
at app-schema.service.ts:272:36
at Array.map (<anonymous>)
at Ae.serializeFormList (app-schema.service.ts:270:17)
at Ae.serializeFormValue (app-schema.service.ts:232:19)
at app-schema.service.ts:248:26
at Array.forEach (<anonymous>)
at Ae.serializeFormGroup (app-schema.service.ts:245:29)
at app-schema.service.ts:273:21
at Array.map (<anonymous>)
at Ae.serializeFormList (app-schema.service.ts:270:17)
Debugging seems to point to a potential issue in the how the config is parsed. The line that fails is the following and fieldSchemaNode.schema has no items
App Name
Traefik
SCALE Version
22.02.3
App Version
2.10.1_18.1.1
Application Events
Application Logs
Application Configuration
Describe the bug
Placing a value in the new custom header middleware and attempting to save results in the following JS console error.
Debugging seems to point to a potential issue in the how the config is parsed. The line that fails is the following and
fieldSchemaNode.schema
has noitems
To Reproduce
Expected Behavior
I would expect the config to be saved and a new middleware value to be available .
Screenshots
NA
Additional Context
NA
I've read and agree with the following