Display/s fail to register when they are a member of a sync group with no leader
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)
- Create a new sync group; or find a sync group without lead display
- Add registered display to that sync group
- Re-register that display; check if there is error 500 in upon registering again (For 2)
- Register display first
- Create a new sync group; or find a sync group without lead display
- Add registered display to that sync group
- Re-register that display; check if there is error 500 in upon registering again
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?
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
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.