gentics / mesh-ui

Gentics Mesh UI
https://getmesh.io
Apache License 2.0
23 stars 27 forks source link

Impossible to sort fields of existing schemas #279

Open gosia-cieslewicz opened 4 years ago

gosia-cieslewicz commented 4 years ago

Mesh UI Version v1.0.0

Problem Sorting schema fields (by both drag&drop and JSON editor) is distorted

Steps to Reproduce

  1. Admin UI > Schema: Create schema with fields using ‘Allowed strings’
  2. CMS UI: Add node using this schema to the project
  3. Admin UI > Schema > Editor: Sort schema fields, save results
  4. CMS UI: Go to schema view

Expected behaviour Schema fields are sorted according to your choice

Actual behaviour Schema fields still sorted alphabetically, or ‘Allowed Strings’ from different fields appear in wrong places

m-kind commented 4 years ago

‘Allowed Strings’ from different fields appear in wrong places

Is this a problem within the CMS UI or are the 'allowed string' values wrong in the schema definition already? As I am facing similar problems (especially regarding the selection of allowed microschemas in lists) I assume that this is a problem with the Admin UI. ATM I have to do 90% of my schema updates manually (via Postman/curl).

pschulzk commented 4 years ago

A short analysis reveals that it appears to be a bug in Mesh UI.

mephinet commented 4 years ago

See also https://github.com/gentics/mesh/issues/981