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

make sure the session is active #166

Merged
merged 2 commits into from Oct 28, 2016
Merged

Conversation

gluneau
Copy link
Contributor

@gluneau gluneau commented Oct 21, 2016

Session can be inactive, but should not be chosen for insertion

@gluneau gluneau added the Bug label Oct 21, 2016
@gluneau gluneau added this to the 17.0 milestone Oct 21, 2016
@MounaSafiHarab
Copy link
Contributor

@gluneau

In the MRIProcessingUtility.pm, there are lines 92 (lookupNextVisitLabel) and 513 (in the update_mri_acquisition_dates), shouldn;t these also be set to search/update session with Active='Y'?

@gluneau
Copy link
Contributor Author

gluneau commented Oct 24, 2016

@MounaSafiHarab Good catch, I've updated those as well.

@MounaSafiHarab
Copy link
Contributor

MounaSafiHarab commented Oct 27, 2016

tested it and it is all good.
I made a session inactive in the backend and reproduced a new session that is identical but active.
Reinserting files now go to the active session.

My concern though is on the Loris side, why is the NDB_Menu_Filter_imaging_browser.class.inc not querying on Active='Y'? as it stands, the inactive session gets displayed but when we click on it, it says 'Failed to retrieve data for timepoint' (I think we should add: AND s.Active = 'Y' on line 105).

@MounaSafiHarab MounaSafiHarab merged commit 05a9274 into aces:17.0-dev Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants