Skip to content

[imaging_uploader] Fixes for a couple of imaging uploader bugs#10979

Merged
driusan merged 6 commits into
aces:29.0-releasefrom
nicolasbrossard:mri_uploader_display_bugs
Jul 22, 2026
Merged

[imaging_uploader] Fixes for a couple of imaging uploader bugs#10979
driusan merged 6 commits into
aces:29.0-releasefrom
nicolasbrossard:mri_uploader_display_bugs

Conversation

@nicolasbrossard

Copy link
Copy Markdown
Contributor

This PR performs the following fixes in the imaging uploader module:

  1. Columns Session ID and Patient Name are now hidden.
  2. The number of files created and inserted is now properly displayed in column Progress.
  3. The link to the MRI violations module is now displayed in column Number of Files Created.

Fixes #10791

@github-actions github-actions Bot added Language: Javascript PR or issue that update Javascript code Module: imaging_uploader PR or issue related to imaging_uploader module Multilingual Any tasks related to making LORIS multilingual labels Jul 22, 2026
@nicolasbrossard nicolasbrossard changed the title Fixes for a couple of imaging uploader bugs [imaging_uploader] Fixes for a couple of imaging uploader bugs Jul 22, 2026
@nicolasbrossard nicolasbrossard added Critical to release PR or issue is key for the release to which it has been assigned 29.0.0 - Bugs Issues found during the release testing for 29.0.0 labels Jul 22, 2026
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.8\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove this header? I think it should be kept

Comment thread modules/imaging_uploader/locale/hi/LC_MESSAGES/imaging_uploader.po Outdated
Comment thread modules/imaging_uploader/locale/zh/LC_MESSAGES/imaging_uploader.po Outdated
Comment thread modules/imaging_uploader/locale/ja/LC_MESSAGES/imaging_uploader.po Outdated
Comment on lines +99 to +104
msgid ""
"A file with this name already exists! Would you like to overwrite the "
"existing file?"
msgstr ""
"Un fichier portant ce nom existe déjà ! Voulez-vous remplacer le fichier "
"existant ?"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change only about not exceeding the character limit per line?

I don't know if you're doing the line wrapping manually or if you are using a tool to do it when the line exceeds 80 lines but in either way, this should be reverted.

Recently, @driusan told me that it is not necessary to respect this limit because it doesn't apply to the translation files.

The new language completion check script present in tools/language_completion_check.php and recently introduced to the pipeline is responsible of finding mismatches between .po and .pot files. That being said, it understands/supports the former (complete string on the same line after msgid) format better and will now detect false positives.

Comment on lines +112 to +117
msgid ""
"A file with this name has been uploaded but has not yet been processed by "
"the MRI pipeline. Would you like to overwrite the existing file?"
msgstr ""
"Un fichier portant ce nom a été téléversé, mais n'a pas encore été traité "
"par le pipeline IRM. Souhaitez-vous remplacer le fichier existant ?"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +54 to +59
msgid ""
"For example, for DCCID {{dccid}}, PSCID {{pscid}}, and Visit Label "
"{{visitLabel}} the file name should be prefixed by: {{prefix}}"
msgstr ""
"Par exemple, pour DCCID {{dccid}}, PSCID {{pscid}} et Libellé de visite "
"{{visitLabel}}, le nom du fichier doit être préfixé par : {{prefix}}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nicolasbrossard and others added 3 commits July 22, 2026 14:51
Co-authored-by: Jad El Hachem <156138084+HachemJ@users.noreply.github.com>
Co-authored-by: Jad El Hachem <156138084+HachemJ@users.noreply.github.com>
Co-authored-by: Jad El Hachem <156138084+HachemJ@users.noreply.github.com>
@nicolasbrossard

Copy link
Copy Markdown
Contributor Author

@HachemJ Thanks for the review Jad. Ready for round 2!

@HachemJ HachemJ left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything that was mentioned in the corresponding issue works on my end. The broken links, the display bugs were all resolved. And the code changes make sense.
LGTM

@HachemJ HachemJ added the Passed manual tests PR has been successfully tested by at least one peer label Jul 22, 2026
@driusan
driusan merged commit 193a844 into aces:29.0-release Jul 22, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

29.0.0 - Bugs Issues found during the release testing for 29.0.0 Critical to release PR or issue is key for the release to which it has been assigned Language: Javascript PR or issue that update Javascript code Module: imaging_uploader PR or issue related to imaging_uploader module Multilingual Any tasks related to making LORIS multilingual Passed manual tests PR has been successfully tested by at least one peer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants