Skip to content

Request: Ability to re-order objects in model _WITHOUT_ swapping object IDs #2030

@jhardin-accumula

Description

@jhardin-accumula

Feature description
Changing the order of generation of objects by swapping object IDs has massive unwelcome side effects, as it changes the order of creation of both objects. This easily corrupts the model and causes problems when trying to reload it.

In addition to swapping IDs, it would be very welcome to have a way to relocate an object to a different place in the order of objects without changing the order of any other objects.

Additional info
Use case: create a collation and apply it to existing columns in the model, in v1.2.1

The collation is created at the very end of the model, as the last object (which is reasonable for a new object).

If you then apply that collation to a table column, you get a sequence error in Validation because the table definition appears in the model before the collation definition; if you Fix it the objects apparently get swapped rather than just the collation object being relocated to before the table object. This fixes the collation sequence error, but breaks relations to the table as the table is now at a different location in the model.

This may not be apparent immediately - it will validate successfully and save, but if you then reload the model you get errors regarding references.

This caused me to lose quite a bit of work because I had applied the collation to a dozen or more columns scattered around the model before saving and trying to reload the model.

Rather than trusting the repair process I decided to revert my model to a saved version and redo things. After creating the collation I saved the model and then edited the model file to move the collation definition to near the top, without touching any other objects.

It would be wonderful if there was a way to do this via the UI.

It would also be great if the Validation Fix for sequence errors moved only the referenced object to earlier in the model, rather than apparently swapping the referenced object and the referencing object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions