umbraco / Umbraco.Deploy.Issues

1 stars 0 forks source link

Validation messages associated with document types are not deployed #137

Closed AndyButland closed 2 years ago

AndyButland commented 2 years ago

It appears that a change to a doc type property validation message does not trigger the save event for the .UDA file and this setting is not saved in the .UDA file when it is saved. This means the value is lost between environments.

This is most likely because the property was added after Deploy was initially created for Umbraco 8.

Every time a new property is added on a schema item, Deploy needs to be updated to ensure it gets serialized to the .uda file and loaded from it after a deployment. This process is most likely being skipped.

This has been tested on Umbraco version 10.1.0 and Deploy version 10.0.3 But should be the same for v8 and v9 as well.

AndyButland commented 2 years ago

These two additional properties have been included in the Deploy artifact and connector for document types now, so from the next releases they will be transferred.