gentics / mesh

Gentics Mesh - The open source headless CMS for developers

Home Page:https://getmesh.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing property in schema update should default to previous value

philippguertler opened this issue · comments

Gentics Mesh Version, operating system, or hardware.

  • v1.4.x

Problem

When omitting a property in a schema update request, Mesh sometimes assumes the default value instead of the value from the previous version.

I confirmed this is the case with the description and the label of fields. Other properties could be affected as well.

This might also affect other requests than schema updates. For schemas, this is however especially bad, because this causes a costly schema migration.