Menu

#62 estimate wrong type

open-accepted
Ivana
8
2009-01-29
2008-12-23
Ivana
No

All time estimates: quote task estimate, implementation task todo and estimate are now of type Long. This means that if the input was a decimal, say 10,5 hours, the user gets an errormessage. Also the error message is not very pretty.

Fix: parse estimate as Double, write better error message.

Discussion

  • Ivana

    Ivana - 2008-12-23
    • assigned_to: rommertdebruijn --> ivana-cace
    • status: open --> open-accepted
     
  • Zoran Kovacevic

    Zoran Kovacevic - 2008-12-31
    • priority: 5 --> 8
     
  • Ivana

    Ivana - 2008-12-31
    • status: open-accepted --> open-fixed
     
  • Ivana

    Ivana - 2008-12-31

    Errormessages are descriptive, 2 decimal places allowed for estimates

     
  • willemfunc

    willemfunc - 2009-01-29

    Comma's now work as they should. A point however doesn't work correctly. If you enter 40.50 it makes 4.050 . Either make points the same as comma's or make it impossible to use points.

     
  • willemfunc

    willemfunc - 2009-01-29
    • status: open-fixed --> open-accepted
     
  • Ivana

    Ivana - 2009-01-29

    Technical description:
    There seems to be a problem with the localised org.apache.wicket.util.convert.converters.DoubleConverter. I got the following results, input - locale - toString for converted input:
    10,99 - GERMAN - 10.99
    10.99 - GERMAN - 1099.0
    10,99 - VS - 1099.0
    10.99 - VS - 10.99

     

Log in to post a comment.