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

The order of Dataset is automatically Alphabetically sorted #1574

Open
BurTah00 opened this issue Sep 4, 2024 · 0 comments
Open

The order of Dataset is automatically Alphabetically sorted #1574

BurTah00 opened this issue Sep 4, 2024 · 0 comments
Assignees

Comments

@BurTah00
Copy link

BurTah00 commented Sep 4, 2024

Using Substation Menu Plugin, when any Control Block is configured, at the stage of Dataset element association, Independent from user's element adding order; dataset is automatically Alphabetically sorted.

This shall not be the case, OpenSCD shall not reorder the elements Alphabetically which is not the intention of the user. The order that user added the elements shall be saved, not resorted.

Typical use case is with status values and quality attributes:
User adds the elements in the order below:

......./Pos.stVal
......./Pos.q

OpenSCD sorts the elements and reorders like below:

...../Pos.q
...../Pos.stVal

Because q is before s in the Alphabet.

image
image
image

@BurTah00 BurTah00 added the Kind: Bug Something isn't working label Sep 4, 2024
@salvar3nga salvar3nga self-assigned this Nov 8, 2024
@salvar3nga salvar3nga added Kind: Bug - Plugins and removed Kind: Bug Something isn't working labels Nov 8, 2024
@salvar3nga salvar3nga self-assigned this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants