Home Page module - Future Period - 3 Days bug

Issue #2 closed
-Kevin N. created an issue

Hi Kevin S,

Starting Moneydance 2011r2+ (808)
Settings Folder: C:\Users\Kevin.moneydance
OS: Windows 7 6.1 x86
Java: 1.7.0_25 (Oracle Corporation)

Forecaster V.33a

To recreate the bug:

  1. Open the Settings window for Home Page module of the Forecaster.
  2. Set the 'Future Period' to a number greater than 36 Days. Click Apply. Click OK.
  3. Re-open the Settings window.

The 'Future Period' defaults to 3 Days.

I will confess that I did not try every number between 36 and 60, but I did try quite a few.

HTH -Kevin N.

Comments (6)

  1. Kevin Stembridge repo owner

    Hi Kevin, Bugs are coming thick and fast now :)

    I can reproduce it following your instructions. It shouldn't be too difficult to fix but I might not get around to it for a week or two.

    Stay tuned.

  2. -Kevin N. reporter

    Hi Kevin,

    I think that it is appropriately dubbed a trivial bug. I'll keep an eye out for your reply.

    Staying tuned,

    -Kevin N.

  3. Kevin Stembridge repo owner

    HomePageSettingsDialog.setFuturePeriod was setting the futurePeriod quantity before it was setting the futurePeriod unit. The default unit is months, which has a max quantity of 36. Any value greater than 36 was being set back to the default for that unit, i.e. 3 for months. Then the futurePeriod unit value was being set to days, resulting in a future period of 3 days.

  4. Kevin Stembridge repo owner

    Hi Kevin,

    This issue should be fixed now. I've notified Sean and uploaded v34 to the downloads page.

    Thanks for reporting it.

    Kevin

  5. Log in to comment