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

"Mike Gargano (JIRA)" <[email protected]> Mon, 28 Mar 2011 16:08:29 +0000 (UTC)
Newsgroups gmane.comp.web.webobjects.woproject.devel
Message-ID <31242971.53.1301328509071.JavaMail.tomcat@karma>
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