Files
openproject/lib/plugins
Markus Kahl 487811aa86 fix custom field validation on unpersisted record (#9050)
* fix custom field validation on unpersisted record

For unpersisted records, the customized value on a custom field is not yet set even though the custom field has been constructed using customized.custom_fields.build

This needs to be countered by setting the customized explicitly.

Without this, e.g. validations that depend on the customized fail

* adapt spec to have the members created in setup

Co-authored-by: ulferts <jens.ulferts@googlemail.com>
2021-02-26 14:02:32 +01:00
..