Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property order inconsistency #207

Open
ssougnez opened this issue Feb 1, 2019 · 1 comment
Open

Property order inconsistency #207

ssougnez opened this issue Feb 1, 2019 · 1 comment

Comments

@ssougnez
Copy link

ssougnez commented Feb 1, 2019

Hello,

The following situation occurred twice to me:

  • I have a document type in production
  • In dev, I add a property to this document type and change the order of this property to locate it below an existing one.
  • I deployed the new version in production and run uSync
  • The property does not get added at the location I set. The first time it occurred to me, the property was not at the end of the list, but neither at the correct location. The second time it occurred, the property was the last available property. Note that I'm using the latest stable version of uSync.

It's also worth nothing that I had a look at the XML file used by uSync (so I guess the serialized version of the structure) and there is a "sortOrder" (I think) field with the correct value. It just seems that this property is not (well) used during the import.

@ssougnez ssougnez changed the title Property order not updated Property order inconsistency Feb 1, 2019
@KevinJump
Copy link
Owner

Hi,

we might need a little more info to get to the bottom of this, I can't recreate it 😞

The sort order is used when a doctype is reimported and it is updated (and it does move document type properties around in the UI) - it could be an issue with sort orders and inheritance of properties from other locations?

When you have a composition with an item with a sort order of 1, and then a child item also ends up with a sort order of 1, the actual order they appear on the screen can be unpredictable between installations, but the sort order will be stored as best as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants