-
Notifications
You must be signed in to change notification settings - Fork 3
Bugs with saving and showing choiceboards #930
Description
Description
There are many issues related to the saving and showing off choiceboards. They are all assumed to be related and able to be fixed at the same time. The two problems are: Choiceboards not being updated until they are actually pressed and choiceboards not being saved correctly.
This can lead to behavior such as changing a choiceboard from having four choices to instead have two. It then shows as having two choices. Then if you view as citizen it shows as having four choices and when swapped back to guardian it shows as four as well.
To Reproduce
These bugs are not always consistent and produce inconsistent behavior assumed to be depending on pc and server.
Steps to reproduce the behavior:
- Log in as guardian
- Create new citizen
- Click the new citizen
- Create new week plan
- Click new weekplan
- Create new activity
- Edit activity and add new choices until it has four options
- Go to the weekplan screen
- Edit the activity and delete two of the choices
- Go to the weekplan screen
- Switch to citizen mode
Observe the choiceboard will likely have four options here - Switch to guardian mode
- Log in
Observe the choiceboard will likely have four options here - Click the activity
- Go to the weekplan screen
Observe the choiceboard will likely have two options here
Expected behavior
The chosen pictograms for an activity should be consistent both across the citizen and guardian view and should update correctly after changes have been made.
Actual behavior and screenshots
Instead the amount of choices will sometimes stay as if unchanged and sometimes come later after the activity has been viewed multiple times.