Opened 2 years ago

Closed 2 years ago

#2228 closed defect (fixed)

Calling Job.setParameterValue() with null value doesn't remove the parameter

Reported by: Nicklas Nordborg Owned by: everyone
Priority: trivial Milestone: BASE 3.17.1
Component: core Version:
Keywords: Cc:

Description

The Job.setParameterValue() and Job.setParameterValues() methods are two variants for setting a parameter to a job. The first set a single value, while the second set a list of values. Passing 'null' as the value should remove the parameter, but this only happens in the latter method. The first will keep that parameter with a null value.

Change History (1)

comment:1 Changed 2 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

In 7877:

Fixes #2228: Calling Job.setParameterValue() with null value doesn't remove the parameter

Note: See TracTickets for help on using tickets.