xibo icon indicating copy to clipboard operation
xibo copied to clipboard

Display/s fail to register when they are a member of a sync group with no leader

Open Kent0425 opened this issue 10 months ago • 2 comments

Description: If a registered display is a member of a sync group with no assigned lead display, re-registering that display display a 500 error.

Pre-requisite: 1. Display must be in the display list already; or 2. Display must be new and must be registered; then assign it to a new sync group as a member only

Steps: (For 1)

  1. Create a new sync group; or find a sync group without lead display
  2. Add registered display to that sync group
  3. Re-register that display; check if there is error 500 in upon registering again (For 2)
  4. Register display first
  5. Create a new sync group; or find a sync group without lead display
  6. Add registered display to that sync group
  7. Re-register that display; check if there is error 500 in upon registering again

Kent0425 avatar Jun 18 '25 04:06 Kent0425

Do these steps recreate it?

  1. Register a display
  2. Ensure register is successful
  3. Add the display to a sync group which does not have a leader
  4. Register display fails?

There are two problems;

  • You should not be able to remove a member if it is a lead
  • If you do manage that (in some way) register should not fail

dasgarner avatar Jun 23 '25 12:06 dasgarner

Do these steps recreate it?

Register a display Ensure register is successful Add the display to a sync group which does not have a leader Register display fails?

Yes, we’ve tested this using Postman and you can reproduce the HTTP 500 error as follows:

  • Register the display using XMDS / RegisterDisplay -> this should succeed.
  • Add the display to a sync group that has no leader assigned ( Add a sync group and do not set a lead display)
  • Try to register the display again -> you’ll see the HTTP 500 error.

We have not connected a real display to the CMS to see if its connecting as expected.

ifarzana avatar Jun 24 '25 16:06 ifarzana