Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0004738 | Openbravo ERP | 08. Project and service management | public | 2008-08-28 11:29 | 2008-11-25 23:38 |
Reporter | iperdomo | ||||
Assigned To | shuehner | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | 2.6.23-gentoo-r9 | |
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0004738: Problem compiling ExpenseSOrder_data.xsql afer uuid merge due to_number() function | ||||
Description | Trying to compile the application you'll get error due to to_number function calls. [java] 16916 [main] INFO org.openbravo.data.Sqlc - File: ./org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder_data.xsql processed [java] 16922 [main] ERROR org.openbravo.data.Sqlc - SQL error in query: [java] org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying = numeric [java] [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512) [java] SELECT BOM_PriceStd(p.M_Product_ID,pv.M_PriceList_Version_ID) AS PriceStd, [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297) [java] BOM_PriceList(p.M_Product_ID,pv.M_PriceList_Version_ID) AS PriceList, [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188) [java] BOM_PriceLimit(p.M_Product_ID,pv.M_PriceList_Version_ID) AS PriceLimit, [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430) [java] p.C_UOM_ID,pv.ValidFrom [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:346) [java] FROM M_Product p, M_ProductPrice pp, M_Pricelist pl, M_PriceList_Version pv [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:250) [java] WHERE p.M_Product_ID=pp.M_Product_ID [java] at org.openbravo.data.Sqlc.query(Unknown Source) [java] at org.openbravo.data.Sqlc.endElement(Unknown Source) [java] AND pp.M_PriceList_Version_ID=pv.M_PriceList_Version_ID [java] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] AND pv.M_PriceList_ID=pl.M_PriceList_ID [java] AND pv.IsActive='Y' [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.openbravo.data.Sqlc.parseSqlFile(Unknown Source) [java] AND p.M_Product_ID = TO_NUMBER(?) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] AND pl.M_PriceList_ID = TO_NUMBER(?) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] AND pl.C_Currency_ID = TO_NUMBER(?) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.main(Unknown Source) [java] ORDER BY pv.ValidFrom DESC [java] [java] Exception:org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying = numeric [java] 16930 [main] ERROR org.openbravo.data.Sqlc - SQL error in query: [java] SELECT C_Currency_ID [java] FROM M_PriceList [java] WHERE M_PriceList_ID = TO_NUMBER(?) [java] Exception:org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying = numeric [java] org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying = numeric [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512) [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297) [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188) [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430) [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:346) [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:250) [java] at org.openbravo.data.Sqlc.query(Unknown Source) [java] at org.openbravo.data.Sqlc.endElement(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.openbravo.data.Sqlc.parseSqlFile(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.main(Unknown Source) [java] 16934 [main] ERROR org.openbravo.data.Sqlc - SQL error in query: [java] [java] select c_currency_convert(TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),TO_DATE(?),null, TO_NUMBER(?),TO_NUMBER(?)) from dual [java] [java] Exception:org.postgresql.util.PSQLException: ERROR: function c_currency_convert(numeric, numeric, numeric, timestamp without time zone, unknown, numeric, numeric) does not exist [java] org.postgresql.util.PSQLException: ERROR: function c_currency_convert(numeric, numeric, numeric, timestamp without time zone, unknown, numeric, numeric) does not exist [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512) [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297) [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188) [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430) [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:346) [java] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:250) [java] at org.openbravo.data.Sqlc.query(Unknown Source) [java] at org.openbravo.data.Sqlc.endElement(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.openbravo.data.Sqlc.parseSqlFile(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.listDir(Unknown Source) [java] at org.openbravo.data.Sqlc.main(Unknown Source) | ||||
Steps To Reproduce | |||||
Proposed Solution | Remove to_number() call for column ids | ||||
Additional Information | |||||
Tags | UUID project | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-08-28 11:29 | iperdomo | New Issue | |||
2008-08-28 11:29 | iperdomo | Assigned To | => cromero | ||
2008-08-28 11:29 | iperdomo | sf_bug_id | 0 => 2080259 | ||
2008-08-28 11:29 | iperdomo | Regression testing | => No | ||
2008-08-28 11:30 | iperdomo | Tag Attached: UUID project | |||
2008-08-28 11:41 | iperdomo | Status | new => scheduled | ||
2008-08-28 11:41 | iperdomo | Assigned To | cromero => shuehner | ||
2008-08-28 11:41 | iperdomo | fix_in_branch | => trunk | ||
2008-08-28 12:39 | svnbot | Checkin | |||
2008-08-28 12:39 | svnbot | Note Added: 0008774 | |||
2008-08-28 12:39 | svnbot | Status | scheduled => resolved | ||
2008-08-28 12:39 | svnbot | Resolution | open => fixed | ||
2008-08-28 12:39 | svnbot | svn_revision | => 6621 | ||
2008-11-25 23:38 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|