Menu

#1 IllegalArgumentException if maxValue is set to a value less than 50

1.0.1
closed
2014-09-02
2014-09-02
No

The preference will throw an IllegalArgumentException from within its constructors, if the max value is set to a value less than 50 via XML and no value is persisted yet (e.g. when the preference is shown for the first time). This bug occurs, because the preference's value is initially set to the hard coded default value (which is 50 and therefore greater than allowed), instead of the one, specified via XML.

Discussion

  • Michael Rapp

    Michael Rapp - 2014-09-02
    • status: open --> accepted
     
  • Michael Rapp

    Michael Rapp - 2014-09-02
    • status: accepted --> closed
     
  • Michael Rapp

    Michael Rapp - 2014-09-02

    This bug was fixed in the bugfix release 1.0.1.

     

Log in to post a comment.

MongoDB Logo MongoDB