You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a timer(s) have been added to activities in a week plan, the timer(s) are deleted and sometimes the activity too when you do one of the following actions:
The weekplan is edited (e,g, renamed)
A new activity is added
Reordering any activities
Canceling a activity and then click "Fortryd"
Copying an activity
Deleting an activity
Cancelling an activity from the weekplan screen
To Reproduce
Steps to reproduce the behavior:
Go to any weekplan
Click on an activity
Add a timer
Go back to the weekplan screen
Do one of the listed actions that creates the bug
See the timer(s) and the timer icon(s) disappear
Expected behavior
The activities with a timer before performing one of the actions should also have the timer afterwards
Actual behavior
The timer is not in the database after performing one of the actions
Additional context
We know that the timers are not deleted when cancelling an activity from the activity screen
All the actions that creates the bug calls the update method from the WeekApi class in the api-client (can be found in week_api.dart) These actions are also the only ones who call this method
The update method sends a json string and receives a new json string
The json string that is send has the timer information, but the json string received has the timer(s) as null
The text was updated successfully, but these errors were encountered:
Describe the bug
When a timer(s) have been added to activities in a week plan, the timer(s) are deleted and sometimes the activity too when you do one of the following actions:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The activities with a timer before performing one of the actions should also have the timer afterwards
Actual behavior
The timer is not in the database after performing one of the actions
Additional context
update
method from theWeekApi
class in the api-client (can be found in week_api.dart) These actions are also the only ones who call this methodupdate
method sends a json string and receives a new json stringnull
The text was updated successfully, but these errors were encountered: