mesh
mesh copied to clipboard
Field order changes when updating schema
Gentics Mesh Version
- v1.7
Operating System
- Windows
JVM
- Oracle JDK 11.0.8
Problem
I have created a schema with some fields
body type htlm title type string metadata type list of strings twitter card data micro node url type string description type string
when I add a new field and change the order of the fields, the order of the fields changes and do no follow the order that I set when I configured the schema
Expected behaviour and actual behaviour
keep the order of the fields
Duplicate of #721
@Jotschi is there an impediment fixing #721 ?
@zoosky This issue has not yet been adressed.
@Jotschi Any guidance?
@zoosky At first glance I think it may be possible that this is a UI-only issue. In Mesh server the schema fields are placed within a list and thus have a specific order. I would first verify whether the problem can be reproduced via REST API and if not check the UI code. Otherwise there may be an issue in the FieldMapImpl
implementation in the Mesh Core. Maybe the UI is not ordering the fields according to the order of the field schemas.
@pschulzk Maybe you could take a quick glance and check whether this is the case?