Open danyill opened 1 year ago
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!
Still relevant and requires attention but addressed in my updated subscriber plugin.
Describe the bug
Currently, the subscriber supervision instantiation bypasses the Action API when a
Val
element exists.This means that undo/redo is lost and likely other side effects.
https://github.com/openscd/open-scd/blob/03632e21957a51b3ca6db6e7169ca88bb1e59a12/src/editors/subscription/foundation.ts#L356-L372
To Reproduce
Found during code examination.
Most likely can be reproduced by having an LGOS/LSVS LN with an existing Val element with an empty string being available for a subscription.
Additional context
This will be at least partially resolved for later binding in the oscd-subscriber-later-binding project but this will not fix the message and data plugins
Also
See the linked issue below, the selection of the
Val
element is also incorrect, it needs to be qualified by the DOI and the DAI.