Opened 17 years ago

Closed 17 years ago

#713 closed defect (fixed)

Differences in the configuration file from base1

Reported by: Johan Enell Owned by: Johan Enell
Priority: trivial Milestone: BASE 2.4
Component: coreplugins Version: trunk
Keywords: Cc:

Description

The options value for the enumeration parameter can be empty. The executer assumes that there is always a number. If the value is empty it should set it to 30.

Change History (3)

comment:1 by Johan Enell, 17 years ago

Resolution: fixed
Status: newclosed

(In [3632]) Fixes #713

comment:2 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: closedreopened

new Integer(options) exists in several other places in the switch statement. I think they should be fixed there as well. I suggest using the following statement since it will also work if options is null or non-numeric value:

Values.getInteger(options, 30);

comment:3 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: reopenedclosed

(In [3638]) Fixes #713: Differences in the configuration file from base1

Note: See TracTickets for help on using tickets.