Open seyfeb opened 3 months ago
For some exercises that I created I am not able to edit them anymore.
Expected results:
The exercise editor form with previously input values.
Actual results:
A blank page only with the surrounding layout (page navigation etc.).
Four errors are logged in the browser:
The container does not log very much
This may be related to exercises that are not saved correctly during creation, see #1738
wger version 2.3.0a2
For some exercises that I created I am not able to edit them anymore.
Steps to Reproduce
Expected results:
The exercise editor form with previously input values.
Actual results:
A blank page only with the surrounding layout (page navigation etc.).
Four errors are logged in the browser:
Browser console errors
``` TypeError: n.data.find(...) is undefined getOptionLabel https://wger.mydomain.com/static/CACHE/js/output.1cfcbf2246c6.js:1 // ... TypeError: e is undefined // ... TypeError: e is undefined // ... TypeError: n.data.find(...) is undefined getOptionLabel https://wger.mydomain.com/static/CACHE/js/output.1cfcbf2246c6.js:1 // ... ```The container does not log very much
Container logs
``` wger_nginx | 172.18.0.6 - - [26/Jul/2024:12:52:55 +0000] "GET /api/v2/check-permission/?permission=exercises.delete_exercisevideo HTTP/1.1" 200 15 "https://wger.mydomain.com/en/exercise/1220/view-base/lateral-raise-machine" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0" "91.3.121.228" wger_nginx | 172.18.0.6 - - [26/Jul/2024:12:52:55 +0000] "GET /api/v2/check-permission/?permission=exercises.delete_exerciseimage HTTP/1.1" 200 15 "https://wger.mydomain.com/en/exercise/1220/view-base/lateral-raise-machine" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0" "91.3.121.228" ```This may be related to exercises that are not saved correctly during creation, see #1738
wger version 2.3.0a2