Job Scheduler: Incorrectly formatted job property values are not translated when user attempts to post job

Description

If a user enters "True" instead of "true" in the boolean.property field for a configurable job, the backend should translate the invalid entry to a value that works. 

 

Attachments

1

Activity

Show:

Matthew Jones January 17, 2021 at 2:43 PM
Edited

I think after fixing and the errors are displayed from SAK-44384, this is really a non-issue. Since this is a test job, and the user is presented with value and invalid values, it's trivial to just use a correct value. 

I'd wait till those are merged and verified and see what others thoughts are. 

Matthew Jones January 17, 2021 at 2:08 PM

I created and while that doesn't fix this issue specifically it helps as the description there should say the text below, rather than "boolean.property.description"

Valid values are: "true", "false", "yes", or "no"

Shawn Foster October 5, 2020 at 1:24 PM

Ideally, the properties would know what type of input is expected. For integers, only accepts integers. For booleans, provide those two options to select from.

Details

Priority

Affects versions

Components

Assignee

Reporter

Environment

Chrome Version 85.0.4183.121 OS X Catalina 10.15.5
Created September 30, 2020 at 10:42 AM
Updated January 17, 2021 at 2:43 PM