Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[configuration][dicom_archive] link error on config regex when trying to access dicom_archive #8610

Closed
regisoc opened this issue Apr 11, 2023 · 1 comment
Labels
25.0.0 - Bugs Category: Bug PR or issue that aims to report or fix a bug

Comments

@regisoc
Copy link
Contributor

regisoc commented Apr 11, 2023

Describe the bug

When any of these 4 regex configuration is empty (at least one):

  • Patient ID regex (patientIDRegex)
  • Patient name regex (patientNameRegex)
  • Lego phantom regex (LegoPhantomRegex)
  • Living phantom regex (LivingPhantomRegex)

A permission error is raised trying to access the dicom_archive module.
Links can be found at least in imaging_qc table and imaging_uploader table.
The error message shown is not indicative of what is happening.

image

To Reproduce

Steps to reproduce the behavior (attach screenshots if applicable):

  1. Go to menu > admin > configuration
  2. Click on 'imaging modules' and empty one of the regex fields:

image

  1. Go to menu > imaging > imaging quality control (could be imaging uploader too)
  2. filter the table by Tarchive = In DICOM Archives
  3. Click on one of the link In DICOM found in the table column Tarchive
  4. See error
  5. When putting at least the most basic regex inside these configurations (i.e. .), the link in the imaging qc table works.

What did you expect to happen?

A clear error message to target these configurations.

@regisoc regisoc added Category: Bug PR or issue that aims to report or fix a bug 25.0.0 - Bugs labels Apr 11, 2023
@regisoc regisoc mentioned this issue Apr 11, 2023
14 tasks
@xlecours
Copy link
Contributor

This is expected when a config is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
25.0.0 - Bugs Category: Bug PR or issue that aims to report or fix a bug
Projects
None yet
Development

No branches or pull requests

2 participants