cbrain icon indicating copy to clipboard operation
cbrain copied to clipboard

Values do not stick when Boutiques input list parameter is optional

Open MontrealSergiy opened this issue 3 years ago • 2 comments

If an input parameter explicitly declared optional in the boutiques, the cbrain would drop any values that user may assign to this parameter, at the least for lists.

Create a simple boutiques that includes an optional input, for example

{ "command-line-flag": "-l2", "value-key": "[L2]", "optional": true, "list": true, "type": "Number", "id": "l2", "name": "list", "description": "several numeric values" }

It is essential that optional attribute is set to true value. Deploy the boutiques, create task where the list l2 value is non-empty. While you would expect the values to keep they disappear after submissions. It is also apparent on parameter preview.

Notes. Did not check non-list parameters.

MontrealSergiy avatar Jun 08 '21 22:06 MontrealSergiy

I am pretty sure this will be fixed as part of my PR #1145 ; it's one of the bugs I discovered while working on the main issue

prioux avatar Aug 01 '21 16:08 prioux

It is still buggy when we have a list.

natacha-beck avatar Oct 29 '21 16:10 natacha-beck