Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Bugs with saving and showing choiceboards #930

@emilnormann

Description

@emilnormann

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:

  1. Log in as guardian
  2. Create new citizen
  3. Click the new citizen
  4. Create new week plan
  5. Click new weekplan
  6. Create new activity
  7. Edit activity and add new choices until it has four options
  8. Go to the weekplan screen
  9. Edit the activity and delete two of the choices
  10. Go to the weekplan screen
  11. Switch to citizen mode
    Observe the choiceboard will likely have four options here
  12. Switch to guardian mode
  13. Log in
    Observe the choiceboard will likely have four options here
  14. Click the activity
  15. 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.

Metadata

Metadata

Labels

Priority: highHigh priority, its required to workType: bugBugs and other insects

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions