You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a work class was configured to use AllinsonFlex with no properties configured, the resultant DynamicSchema object had a nil value, instead of an empty Hash, in the properties field of the schema attribute (serialized JSON). Granted, this is an odd situation you probably wouldn't want to create -- but other parts of the stack assume a valid Hash value is present there, and break. This includes the form to create new work not rendering.
You'll want a more elegant solution within allinson_flex, but there's a monkeypatch PR up for a project using allinson_flex, here: IU-Libraries-Joint-Development/essi#292
The text was updated successfully, but these errors were encountered:
aploshay
changed the title
Configuring no properties results in a breaking 'nil' values instead of an empty hash for DynamicSchema.schema['properties']properties']
Configuring no properties results in a breaking 'nil' value, instead of an empty hash, for DynamicSchema.schema['properties']
Apr 16, 2021
When a work class was configured to use AllinsonFlex with no properties configured, the resultant DynamicSchema object had a nil value, instead of an empty Hash, in the properties field of the schema attribute (serialized JSON). Granted, this is an odd situation you probably wouldn't want to create -- but other parts of the stack assume a valid Hash value is present there, and break. This includes the form to create new work not rendering.
You'll want a more elegant solution within allinson_flex, but there's a monkeypatch PR up for a project using allinson_flex, here:
IU-Libraries-Joint-Development/essi#292
The text was updated successfully, but these errors were encountered: