When creating a new show with a week-based recurrence scheme, there is only every second timeslot created, while the recurrence scheme is correctly displayed on the Show Info Page. Creating a Wiederholungsprogramm on the same day & time (also with a weekly schedule) seemed not trigger the collision detection. (I tested this on 20/11/23 with the current version of dashboard.aura.radio in Firefox/Ubuntu)
When testing again, I did the following steps to find out more precisely what is going on:
activate show
creating new recurrence schemes, using all different types of rhythms available: a 2-weekly rhythm, a odd/even-week-rhythm, a xth-week-of-month-rhythm a daily and a workday-wise rhythm
the result was that only every second timeslot got created for all the week-based schemes (weekly/2-weekly/4-weekly), while the daily and the workday-wise rhythm (e.g. every Friday) worked all fine, also regarding the collision management. When using the other schemes, creation of the schedules was refused / not possible at all.
Tested on dashboard.aura.radio on 21/11/23 using Firefox on Ubuntu.
So I am also precising the ticket description because it seems like a more general issue regarding creation of schedules and timeslots. Maybe it also makes sense to break this up into several smaller tickets @eigenwijsje ?
Margarethe Maierhofer-Lischkachanged title from for weekly recurrence scheme, timeslots get created only every second week to for week-based recurrence schemes, only every second timeslot gets created
changed title from for weekly recurrence scheme, timeslots get created only every second week to for week-based recurrence schemes, only every second timeslot gets created
@fm_margarethem changing milestone to alpha-3, because if this bug can be confirmed, it looks like a blocking defect mandatory to be fixed before the release.
agree, this is a crucial feature. @eigenwijsje could you look into that and if necessary we can briefly assess this in the next upcoming meeting on Friday. I will also do some more extensive testing to see if we can even more precisely describe what is going on.
I tested with all available recurrence schemes and found that using the work-day / "werktäglich" rhythm creates only one timeslot per week (on the selected day). Using "daily" works as intended. For all rhythms that are not daily, or week-based (which means, odd/even calendar week, xth week of month), the creation of a schedule fails, meaning after entering the information in the UI, nothing happens at all.
Maybe one of us can validate this quickly just to be sure that no browser/network-related issues from my side are involved.
Thanks @eigenwijsje for the clarification. I sum up the main points here that resulted from our investigation on this issue yesterday:
Aura's datamodel can "speak" all kinds of different rrules (see AEP06), but only the rrules that get imported when loading a radio database, are then available for use in the AURA dashboard.
Since the AURA instance on dashboard.aura.radio is using the dataset of Radio Helsinki, currently only the rrules used at RH are working there. (Those are: once, daily, weekly, every 2nd /4th week. See post above.)
The dashboard should check the present rrules and display only the options that are offered via the database. So the actual error is that the recurrence selector menu offers rrules which are not present in the system. Adding an error message from steering, like @eigenwijsje did, is an improvement that helps for clarification and troubleshooting purposes. But possibly something is going wrong in communication between dashboard and steering? This needs to be investigated further (cc @kmohrf - maybe you can help to clarify).
So the actual error is that the recurrence selector menu offers rrules which are not present in the system.
Exactly. It looks like the rrules are currently hardcoded in Dashboard. Instead they should be dynamically loaded from Steering, displaying only available rules.
Since the AURA instance on dashboard.aura.radio is using the dataset of Radio Helsinki, currently only the rrules used at RH are working there. (Those are: once, daily, weekly, every 2nd /4th week. See post above.)
Since dashboard.aura.radio is also our current testing instance, I would highly appreciate if we also import all rrules there, being able to cover all test cases. While the test data is derived from RH, we don't need to stick with RHs planning logic. @fm_margarethem@eigenwijsje
I agree that we should carefully review the requirements for our online demo instance to make sure it is well equipped for upcoming testcases, but please let's keep the debate here in scope of this ticket.
After reviewing the database, meaning the schedules and timeslots created, it looks like a mismatch of the recurrence rules is the source of confusion.
steering=#select id,name from program_show where created_by ='maggie'; id | name ----+-------------------------- 3 | Hallo Welt 7 | alles was geht 8 | Neue Sendung 9 | Fünf Minuten Nachrichten 11 | Die Musikminute(5 rows)
For these shows there are seven schedules, one is "once", one is "weekly" five are "bi-weekly":
steering=#select show.name, schedule.show_id, schedule.id, schedule.rrule_id, rrule.name from program_schedule as schedule join program_rrule as rrule on rrule.id = schedule.rrule_id join program_show as show on show.id=schedule.show_id where show_id in(3,7,8,9,11); name | show_id | id | rrule_id | name --------------------------+---------+----+----------+----------------- Fünf Minuten Nachrichten | 9 | 17 | 1 | einmalig Fünf Minuten Nachrichten | 9 | 23 | 3 | wöchentlich alles was geht | 7 | 12 | 4 | zweiwöchentlich Fünf Minuten Nachrichten | 9 | 16 | 4 | zweiwöchentlich Fünf Minuten Nachrichten | 9 | 21 | 4 | zweiwöchentlich Fünf Minuten Nachrichten | 9 | 35 | 4 | zweiwöchentlich Fünf Minuten Nachrichten | 9 | 36 | 4 | zweiwöchentlich(7 rows)
The timeslots for the weekly schedule (23) are created as expected: