Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014768
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2010-10-05 17:582012-03-02 15:36
ReporterchristiancorrodiView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version3.0MP9
StatusclosedFix in branchFixed in SCM revision3082e66a5d16
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase version8.3Ant version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014768: prescript-PostgreSql.sql: to_number(integer) function always returning null

DescriptionThe to_number(integer) function defined in src-db/database/model/prescript-PostgreSql.sql always returns null.
Proposed SolutionCREATE OR REPLACE FUNCTION to_number(integer)
  RETURNS "numeric" AS
$BODY$
BEGIN
RETURN cast($1 as numeric);
EXCEPTION
  WHEN OTHERS THEN
    RETURN NULL;
END;
$BODY$
  LANGUAGE 'plpgsql' IMMUTABLE;
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0045067)
hgbot (developer)
2012-02-13 12:10

Repository: erp/devel/pi
Changeset: 3082e66a5d16fbf4aec909798fa2bd8583c20549
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 13 12:02:18 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3082e66a5d16fbf4aec909798fa2bd8583c20549 [^]

Fixed issue 14768. Fixed function definition

---
M src-db/database/model/prescript-PostgreSql.sql
---
(0045173)
AugustoMauch (manager)
2012-02-16 10:42

Close reviewed and verified
(0045834)
hudsonbot (developer)
2012-03-02 15:36

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/544d64e0c159 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2010-10-05 17:58 christiancorrodi New Issue
2010-10-05 17:58 christiancorrodi Assigned To => alostale
2010-10-11 09:05 alostale Priority normal => urgent
2010-10-11 09:06 alostale Status new => scheduled
2011-11-16 16:30 alostale Assigned To alostale => marvintm
2012-02-13 12:10 hgbot Checkin
2012-02-13 12:10 hgbot Note Added: 0045067
2012-02-13 12:10 hgbot Status scheduled => resolved
2012-02-13 12:10 hgbot Resolution open => fixed
2012-02-13 12:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3082e66a5d16fbf4aec909798fa2bd8583c20549 [^]
2012-02-16 10:42 AugustoMauch Note Added: 0045173
2012-02-16 10:42 AugustoMauch Status resolved => closed
2012-02-16 10:42 AugustoMauch Fixed in Version => 3.0MP9
2012-03-02 15:36 hudsonbot Checkin
2012-03-02 15:36 hudsonbot Note Added: 0045834


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker