Bug: kcal amount not updated on server after change in exercise duration
There seems to be a bug whereby the kcals for an exercise are not updated on the server after a change in the duration of the exercise.
To reproduce the bug:
- In a browser on https://cronometer.com/#diary, add in an exercise to the diary e.g. 'Walking 3.0 mph, moderate' 30 minutes.
- Note the kcals of the exercise e.g. 76 kcals.
- Change the time e.g. to 60 minutes.
- Note the new kcals of the exercise e.g. 153 kcals.
- Refresh the browser to force a refresh of data from the server (ctrl+r or press the browser's refresh button).
- Note that the time of the exercise remains the same (e.g. 60 minutes) but the kcals have gone back the the first amount (e.g. 76 kcals). But the correct kcals would be the second amount e.g. 153 kcals.
Workaround:
You have to delete the exercise altogether from the diary and re-add it with the new time.
David
Comments
-
10/10 for your bug report David!
Thanks for reporting this. I've copied your report for a developer to have a look at.
Karen Stark
cronometer.com
As always, any and all postings here are covered by our T&Cs:
https://forums.cronometer.com/discussion/27/governing-terms-and-disclaimer -
Please note that this bug has not been fully fixed. It now works if you follow the steps 1 to 6 that I outlined above. However, if you do an extra refresh between step 2 and 3, the problem is still there, so the client is still not consistently updating the server correctly on changing the exercise duration. Here is a revised set of steps to reproduce the bug:
To reproduce the bug:
1. In a browser on https://cronometer.com/#diary, add in an exercise to the diary e.g. 'Walking 3.0 mph, moderate' 30 minutes.
2. Note the kcals of the exercise e.g. 76 kcals.
2a. Refresh the browser to force a refresh of data from the server (ctrl+r or press the browser's refresh button).
3. Change the time e.g. to 60 minutes.
4. Note the new kcals of the exercise e.g. 153 kcals.
5. Refresh the browser to force a refresh of data from the server (ctrl+r or press the browser's refresh button).
6. Note that the time of the exercise remains the same (e.g. 60 minutes) but the kcals have gone back to the first amount (e.g. 76 kcals). But the correct kcals would be the second amount e.g. 153 kcals.The workaround is the same (delete the exercise entry and re-add it).
David