[OS-JIRA] Created: (WOL-1206) When generating migration code for PostgreSQL models with doubleNumber prototype attribute creates invalid code

From: Mike Gargano (JIRA) ("Mike)
Date: Mon Mar 28 2011 - 16:08:29 UTC

  • Next message: David LeBer: "Eclipse version?"

    When generating migration code for PostgreSQL models with doubleNumber prototype attribute creates invalid code
    ---------------------------------------------------------------------------------------------------------------

                     Key: WOL-1206
                     URL: http://issues.objectstyle.org/jira/browse/WOL-1206
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: WOLips General
        Affects Versions: WOLips Stable
             Environment: WOLips 3.6.6214; Eclipse 3.6; Snow Leopard; Wonder rev 11833
                Reporter: Mike Gargano

    When creating a model with an attribute using the doubleNumber prototype for a PostgreSQL database, the following code is generated for the migration...

                    yourTable.newDoubleColumn("the_attrib", ${attribute.precision}, ${attribute.scale}, false);

    There are no precision or scale fields for this prototype, so both values should be defaulted to 0.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Mon Mar 28 2011 - 16:09:29 UTC