Opened 14 years ago

Closed 14 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 Changed 14 years ago by Johan Enell

Resolution: fixed
Status: newclosed

(In [3632]) Fixes #713

comment:2 Changed 14 years ago by Nicklas Nordborg

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 Changed 14 years ago by Nicklas Nordborg

Resolution: fixed
Status: reopenedclosed

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

Note: See TracTickets for help on using tickets.