open-scd
open-scd copied to clipboard
Renaming a control block removes subscriptions
Describe the bug
When a control block name is edited in OpenSCD, subscriptions are invalidated.
To Reproduce
Steps to reproduce the behavior:
- Carry out subscriptions for GOOSE or Sampled Values.
- Edit a control block (e.g. from the Substation screen by clicking on the (R) or (S))
- Rename the control block
- Go to the subscription editor
- See no count against the subscriptions.
Expected behavior
Renaming a control block results in the srcCBName
of subscribed ExtRef
elements being updated.
Screenshots
-
Subscription added:
-
Control block renamed:
-
After clicking Save, the subscriptions are lost:
-
I tested this with a
GSEControl
element but the same is true for aSampledValueControl
Additional context
Here's the file I used for demonstration.
TPMulticastNaming-Test-2Bus-Prot1.zip
fyi @jarradraumati
The agreed solution was that the wizard takes care of the renaming of references. If the use-case comes up often we may extract it out to an SCL library
Hello there,
Thank you for opening this issue! We appreciate your interest in our project. However, it seems that this issue hasn't had any activity for a while. To ensure that our issue tracker remains organized and efficient, we occasionally review and address stale issues.
If you believe this issue is still relevant and requires attention, please provide any additional context, updates, or details that might help us understand the problem better. Feel free to continue the conversation here.
If the issue is no longer relevant, you can simply close it. If you're uncertain, you can always reopen it later.
Remember, our project thrives on community contributions, and your input matters. We're here to collaborate and improve. Thank you for being part of this journey!