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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0004662
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2008-08-20 18:042008-11-25 23:28
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision6752
ProjectionnoneETAnoneTarget Version2.50
OSLinux 32 bitDatabaseOracleJava version
OS VersionUbuntu 8.04Database versionAnt version
Product VersionSCM revision6432 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0004662: Production -> Maintenance Plan -> Form View gives SQLException in r2.5x after uuid-merge

DescriptionThe 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 ReproduceConfigure Maintenance for at least one machine
Run Process Insert Maintenance
Go to Maintenance Plan (Form View)
TagsUUID 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
Powered by Mantis Bugtracker