open-scd icon indicating copy to clipboard operation
open-scd copied to clipboard

Renaming a control block removes subscriptions

Open danyill opened this issue 1 year ago • 2 comments

Describe the bug

When a control block name is edited in OpenSCD, subscriptions are invalidated.

To Reproduce

Steps to reproduce the behavior:

  1. Carry out subscriptions for GOOSE or Sampled Values.
  2. Edit a control block (e.g. from the Substation screen by clicking on the (R) or (S))
  3. Rename the control block
  4. Go to the subscription editor
  5. See no count against the subscriptions.

Expected behavior

Renaming a control block results in the srcCBName of subscribed ExtRef elements being updated.

Screenshots

  1. Subscription added:

    image

  2. Control block renamed:

    image

  3. After clicking Save, the subscriptions are lost:

    image

  4. I tested this with a GSEControl element but the same is true for a SampledValueControl

Additional context

Here's the file I used for demonstration.

TPMulticastNaming-Test-2Bus-Prot1.zip

fyi @jarradraumati

danyill avatar Aug 24 '23 23:08 danyill

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

trusz avatar Aug 28 '23 14:08 trusz

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!

github-actions[bot] avatar Oct 27 '23 19:10 github-actions[bot]