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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0003613
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementminoralways2008-01-29 12:472008-06-12 09:44
ReportercromeroView Statuspublic 
Assigned Tocromero 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0003613: Saving records in Payment Status Management Line

DescriptionRelated to bug:
0002486

Merely clicking the 'Save' button in :

Financial Management->Receivables & Payables->Transactions->Payment Status
Management->Header->Lines

will produce error :

"ERROR : COALESCE types character and integer cannot be matched'

I found the offending codes in database trigger
"c_dpmline_chk_restriction_trg" line 15:

... OR(COALESCE(OLD.STATUS_FROM, 0) <> COALESCE(NEW.STATUS_FROM, 0))
OR(COALESCE(OLD.STATUS_TO, 0) <> COALESCE(NEW.STATUS_TO, 0)))) THEN

Changing it to

... OR(COALESCE(OLD.STATUS_FROM, '') <> COALESCE(NEW.STATUS_FROM, ''))
OR(COALESCE(OLD.STATUS_TO, '') <> COALESCE(NEW.STATUS_TO, '')))) THEN

Seems to solve the problem. Is this correct?, please advice.

Openbravo 2.35
Debian Etch
Postgresql 8.2/lenny
Tomcat5.5
Java 1.5
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0002486 closedcromero Saving records in Payment Status Management Lines 

-  Notes
(0004074)
cromero (viewer)
2008-01-29 12:58
edited on: 2008-06-12 09:27

Logged In: YES
user_id=1500614
Originator: YES

Fixed bug since revision 2169

Carlos Romero
Openbravo Team
(0007202)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:44

This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1881754 [^]

- Issue History
Date Modified Username Field Change


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker