Multiple view groups, add/delete repeat with the same role name

Hi,

Using MIPS SDK 2023 R2

We see zombie view groups when we add/delete and re-add roles with the same name.

When done from management UI, we don’t see the same issue.

Thanks,

Vega

I reproduced the issue in the current version of the XProtect VMS. I therefore suspect the issue can be found across many versions. In general the Configuration API is server side so the interesting fact is not that the MIP SDK is 23.2 but that the VMS is, I have that information from the screen capture of Management Client. (The recommendation is to always to use the newest MIP SDK even if your XProtect VMS isn’t.)

-

Lets compare the two methods: (Management Client (MC) and Configuration API)

When you create a Role a ViewGroup is automatically created with the same name. (both)

When you delete a Role the ViewGroup that was automatically created with the same name remains. (both)

When you create a Role with the same name again-

-the ViewGroup is not created as there is already one of that name. (MC)

-the ViewGroup is created, which leaves you with multiple ViewGroups of the same name. (ConfigAPI)

I will consult with Milestone Development and then I will post here the feedback.