aerie-ui icon indicating copy to clipboard operation
aerie-ui copied to clipboard

Untoggled Checkbox Does Not Default to "False" for Parameterized Scheduling Procedures

Open ewferg opened this issue 11 months ago • 0 comments

Checked for duplicates

No - I haven't checked

Is this a regression?

No - This is a new bug

Version

3.2

Describe the bug

When I have a parameterized scheduling procedure, there is no way to specify defaults (like you can with activity types and sim config). This isn't ideal because I would like to have defaults, but where this turned into more of a "bug" is when I have a scheduling procedure with a boolean parameter. In the UI, when you instantiate that procedure in a plan, the parameter appears as a checkbox, which is unchecked by default. However, if I really want that parameter to be "false", I have to toggle the chechbox to "check" and then back to "unchecked" or I will get a scheduling error since the value will be null.

Reproduction

Create a simple scheduling procedure with a single boolean parameter (the procedure itself doesn't really need to do anything). Upload that procedure .jar to Aerie and instantiate it in a plan via "manage goals". Hit "schedule" to see the error. If you toggle the checkbox, you will see that scheduling succeeds.

Logs


System Info

Firefox 128.6.0esr (64-bit)

Severity

Minor

ewferg avatar Jan 31 '25 21:01 ewferg