You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, you are allowed to remove a service from another system if they have the same name (I think) but then it breaks the uuid from devices that have the service.
The text was updated successfully, but these errors were encountered:
The title of this issue seems to conflict with the description.
Regarding the title, if you call remove_component!(Service, sys, name) and there is no such service stored, it should throw an exception. Are you saying that this doesn’t work? (The exact Service type must be concrete.)
Regarding the description, the function signature is as follows:
function remove_component!(
::Type{T},
sys::System,
name::AbstractString,
) where {T <: Component}
If the system has a service matching type and name, it will be removed. If you call this on the wrong system, how can we detect that?
I believe this issue was more complicated than this. I'm killing myself here for not adding the code that created this issue, and I'm not able to replicate this issue.
I'm guessing this could be related with #1016, of adding the same service in two different systems, and then trying to remove one, creating issues in another system.
This is my bad, since I can't recall what was the test case I was using for this issue. @jd-lara Do you remember exactly about this issue? If not, we can close it for now, and re-open it once we encounter it again.
Currently, you are allowed to remove a service from another system if they have the same name (I think) but then it breaks the uuid from devices that have the service.
The text was updated successfully, but these errors were encountered: