Grails
  1. Grails
  2. GRAILS-7942

Scaffolfing inconsistency with BigDecimal (create/edit)

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.7
    • Fix Version/s: None
    • Component/s: Scaffolding
    • Labels:
      None
    • Environment:
      Groovy 1.7.8
      Grails 1.3.7
      MySQL 5.1.54

      Description

      When I do scaffolding on a BigDecimal (with (scale:8))

      The behaviour of the Scaffolding is inconsistent.
      For example:

      1.) I enter a Value of 1,0065
      2.) When I click on create the Value is saved to the DB (I verified this) as 1,0065 [Correct]
      3.) When I click on show it is displayed as 1,006 [Incorrect]
      4.) When I edit the value it is displayed as 1,006 [Incorrect]

      => This leads to an unwanted data change, when you edit another field.

      If you do not want to fix this error, could you please show me, where this is happening in the Grails source code?

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Peter Stockli
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development