schedule.xml / Order of speakers is randomized / causing useless updates in the 37C3 Schedule for Android app
Context
- A change in the order of speaker names in detected by the 37C3 Schedule app for Android.
- It triggers a change information which is presented to the user.
Observed behavior
-
The list of speakers aka
<persons>
in the schedule.xml is generated in a randomized order. -
Here is a diff between two shortly after another generated schedules:
Expected behavior
- The list of speakers aka
<persons>
does not change in order - except some human intentionally changes the order in the event entry.
Notes
- I supposed the reason might be something trivial like using an unsorted data structure like a
set
. - To avoid future regressions please add a unit test for the case.
Edited by tbsprs