Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0004662 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2008-08-20 18:04 | 2008-11-25 23:28 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 6752 | |||
Projection | none | ETA | none | Target Version | 2.50 | |||
OS | Linux 32 bit | Database | Oracle | Java version | ||||
OS Version | Ubuntu 8.04 | Database version | Ant version | |||||
Product Version | SCM revision | 6432 | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0004662: Production -> Maintenance Plan -> Form View gives SQLException in r2.5x after uuid-merge | |||||||
Description | The Form view of the Maintenance Plan does not work after the uuid-merge. As SQLException "ORA-00932: inconsistent datatypes: expected CHAR got NUMBER " is thrown when executing as Select-Statement created by the ComboTableData class. The executed SQL-Statement is: SELECT td0.MA_Machine_ID AS ID, (COALESCE(TO_CHAR(TO_CHAR(td0.Value)),'') || ' - ' || COALESCE(TO_CHAR(TO_CHAR(td0.Name)),'')) AS NAME, '' AS DESCRIPTION FROM MA_Machine td0 WHERE td0.AD_Client_ID IN ('0','1000000') AND td0.AD_Org_ID IN ('1000002','1000003','1000004','1000000','0') AND COALESCE(td0.MA_Machine_Type_ID,-1) = COALESCE(?, COALESCE(td0.MA_Machine_Type_ID,'-1')) AND (td0.isActive = 'Y' OR td0.MA_Machine_ID = (?) ) ORDER BY 2 The problem is likely this "COALESCE(td0.MA_Machine_Type_ID,-1)" part, where the -1 specified as a number does not match the MA_Machine_Type_ID field which is now VARCHAR(32) | |||||||
Steps To Reproduce | Configure Maintenance for at least one machine Run Process Insert Maintenance Go to Maintenance Plan (Form View) | |||||||
Tags | UUID project | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0008858) svnbot (reporter) 2008-09-02 19:12 |
Repository: openbravo Revision: 6752 Author: huehner Date: 2008-09-02 19:12:16 +0200 (Tue, 02 Sep 2008) Fixed 4662 Modify validation applied to some combobox Quote -1 as '-1' to make postgresql-8.3 working --- U branches/r2.5x/src-db/database/sourcedata/AD_VAL_RULE.xml --- https://dev.openbravo.com/websvn/openbravo/?rev=6752&sc=1 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2008-08-20 18:04 | shuehner | New Issue | |
2008-08-20 18:04 | shuehner | Assigned To | => cromero |
2008-08-20 18:04 | shuehner | sf_bug_id | 0 => 2062631 |
2008-08-20 18:04 | shuehner | Regression testing | => No |
2008-08-21 12:06 | psarobe | version | trunk => |
2008-08-21 12:06 | psarobe | Tag Attached: UUID project | |
2008-08-21 12:49 | psarobe | Target Version | => 2.50 |
2008-09-02 08:48 | cromero | Status | new => scheduled |
2008-09-02 08:48 | cromero | Assigned To | cromero => shuehner |
2008-09-02 08:48 | cromero | fix_in_branch | => trunk |
2008-09-02 19:12 | svnbot | Checkin | |
2008-09-02 19:12 | svnbot | Note Added: 0008858 | |
2008-09-02 19:12 | svnbot | Status | scheduled => resolved |
2008-09-02 19:12 | svnbot | Resolution | open => fixed |
2008-09-02 19:12 | svnbot | svn_revision | => 6752 |
2008-11-25 23:28 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |