[media] Error 404 is shown when media module trays to instantiate a non existing instrument. #8902
Labels
24.0.0-bugs
Issues or bug fix PRs that were raised during the testing of release 24.0.0
Bug
PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label)
Describe the bug
The media module try to instantiate the instruments that "were associated" to the media file as a sanity check.
This a very good practice.
The issue arrives when for some reason the one of the instruments could not be instantiated. In this case the module will not load and display a 404 error instead.
To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):
MainMenu->Clinical->Media
What did you expect to happen?
The module to load and to log the specific issue with the instrument in the log file.
Additional context
This issue could appear if the name of an instrument is changed, the instrument is deleted, etc. and not properly updated in the media module linked file. The proposal is not to break the module for this reason but to let it load and log the issue with the particular instrument in the error-log instead.
The text was updated successfully, but these errors were encountered: