aces / Loris

LORIS is a web-accessible database solution for longitudinal multi-site studies.
GNU General Public License v3.0
141 stars 173 forks source link

[Issue Tracker] site doesn't set to null when creating an issue with 'all sites' and no PSCID #9254

Closed KLaFleur closed 1 month ago

KLaFleur commented 1 month ago

Describe the bug The issue tracker test plan states: 'Do not provide a PSCID value and set site to All Sites. This should set Site to NULL after success' --> I found that this wasn't the case, and the issue populated in the list with every site listed.

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

  1. Go to issue tracker
  2. Click on new issue
  3. add a new issue without setting a PSCID and set site to 'All Sites'
  4. See error (the site attribute should show as null, not a list of every site)

What did you expect to happen? A clear and concise description of what you expected to happen.

Browser Environment (please complete the following information): Chrome

driusan commented 1 month ago

Is the value in the backend null?

jeffersoncasimir commented 1 month ago

The value in the issues table is NULL.

The Issue Tracker module's DataTable displays all sites.

I believe this is the expected behaviour, not an issue, and can be closed.

driusan commented 1 month ago

maybe the test plan should be updated to clarify?