Skip to content

Conversation

@cmadjar
Copy link
Collaborator

@cmadjar cmadjar commented Feb 20, 2023

Brief summary of changes

The links to BrainBrowser from the MRI violations module were not working for two reasons:

  • queried the wrong table name for the protocol violations (mri_violations_log should have been used instead of mri_violation_log)
  • the FileDownloadHandler class was using the basename of the file instead of the relative path which resulted in BrainBrowser not finding the file on the file system.

Link(s) to related issue(s)

@cmadjar cmadjar requested a review from driusan February 20, 2023 20:58
@cmadjar cmadjar added Category: Bug PR or issue that aims to report or fix a bug Critical to release PR or issue is key for the release to which it has been assigned 24.0.0-bugs Issues or bug fix PRs that were raised during the testing of release 24.0.0 labels Feb 20, 2023
Copy link
Collaborator

@driusan driusan left a comment

Choose a reason for hiding this comment

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

I think the branch is broken but I'll merge it once it's fixed.

@cmadjar cmadjar force-pushed the fixes_links_in_BB_not_opening_the_right_file branch from 40ec3ea to 0bd67b9 Compare February 21, 2023 16:37
@driusan driusan merged commit d47c8c1 into aces:24.1-release Feb 21, 2023
@ridz1208 ridz1208 added this to the 24.1.2 milestone Mar 6, 2023
zaliqarosli pushed a commit to zaliqarosli/Loris that referenced this pull request Mar 6, 2023
…dule (aces#8392)

The links to BrainBrowser from the MRI violations module were not working for two reasons:

- queried the wrong table name for the protocol violations (mri_violations_log should have been used instead of mri_violation_log)
- the FileDownloadHandler class was using the basename of the file instead of the relative path which resulted in BrainBrowser not finding the file on the file system.

These bugs were found when testing aces#7473 but have been present since 24.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

24.0.0-bugs Issues or bug fix PRs that were raised during the testing of release 24.0.0 Category: Bug PR or issue that aims to report or fix a bug Critical to release PR or issue is key for the release to which it has been assigned

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants