Open JakobTopholt opened 1 year ago
After a PO meeting was held regarding the issue, it has been decided that we will remove all timer functionality for now, which is what this task is going to represent.
After meeting with the external PO, it has been decided that we will be keeping the timer in its current state. HOWEVER! We have decided to abandoned this issue for now, seeing as it cannot be solved in the weekplanner app (frontend), but must be solved in the backend. We could not find the exact way that activities are copied therefore forcing us to focus on other issues, given this issue's low priority.
A way to solve it in the backend as, Topholt mentioned, is to give the new activities a new timerkey instead of inserting the old timerkey. While this may seem easy, we have not been able to find out where in the backend the actual activity copies are being created.
For future reference. Here would be our method in full detail as to solve this issue:
This would in theory create all the new activities and give them their own respectiv timers.
Timers are copied wrong when activities are copied
As it is now when you copy an activity with a timer attached both of the alarms are identical. This means that when you delete one of the activities the alarm from the other one is deleted as well.
Potential solutions When copying alarms give the new alarm a new unique ID in the database.
This issue is in weekplanner/api_client and is harder to solve than it sounds so probably low priority
Steps to reproduce: