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

Out of range in Analysis with Results Options Control type Multiple Selection #2352

Open
hochkofler opened this issue Jul 26, 2023 · 0 comments

Comments

@hochkofler
Copy link

Description

When you have a Analysis with resultoptions where their Result Values are numbers, if the ControlType is MultipleSelection the "is_out_of_range" function always returns False, but, if de ControlType is set to "Selection List" works.

Reproduction guide

Set an analysisService with ResultOptions where Result Values should be numbers, and set specs for that analysis, then insert results out of range (in WS or Sample view.

Observed behaviour

if the control type of the analysis is multiple selection, it will always appear as within specification, if it is single selection, the result will be marked as out of specification

Expected behaviour

if at least one of the results is out of range, it should be listed as out of range, otherwise within specification

Versions

2.4.1

  • OS: Linux

  • senaite.core: master

  • senaite.impress: master

  • senaite.core.listing: master

  • senaite.core.supermodel: master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant