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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016541
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminorsometimes2011-03-29 16:022011-05-03 11:02
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in Version2.50MP30
StatusclosedFix in branchFixed in SCM revisionec9f5d609ce0
ProjectionnoneETAnoneTarget Version2.50MP30
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP27SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016541: Cannot use null in a BaseOBObject parameter when calling a procedure

DescriptionWhen using the class CallStoredProcedure to call a procedure and passing NULL in a parameter of type BaseOBObject an error is returned. If the value is not null it works
Steps To ReproduceWhen calling a procedure pass a parameter using the following code:

types.add(org.openbravo.model.common.currency.ConversionRate.class);
parameters.add(null);

The problem is in the method getSQLType that raises an exception. In this particular case VARCHAR must be returned.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0016531 closeddalsasua Cannot use null in a BaseOBObject parameter when calling a procedure 

-  Notes
(0035456)
hgbot (developer)
2011-04-01 12:33

Repository: erp/stable/2.50
Changeset: ec9f5d609ce062db3856c4bf33d7523b547fa518
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Mar 31 17:14:46 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/ec9f5d609ce062db3856c4bf33d7523b547fa518 [^]

Fixes issue 0016541: Cannot use null in a BaseOBObject parameter when calling a procedure
It has been modified the code to detect nulls when assigning as a procedure parameter a BaseOBObject

---
M src/org/openbravo/service/db/CallStoredProcedure.java
---
(0036300)
jonalegriaesarte (reporter)
2011-05-03 11:02

Verified

- Issue History
Date Modified Username Field Change
2011-03-29 16:02 adrianromero New Issue
2011-03-29 16:02 adrianromero Assigned To => mtaal
2011-03-29 16:02 adrianromero Modules => Core
2011-03-29 16:02 adrianromero Issue generated from 0016531
2011-03-29 16:02 adrianromero Relationship added depends on 0016531
2011-03-29 16:03 adrianromero Target Version 2.50MP31 => 2.50MP30
2011-03-31 17:13 adrianromero Assigned To mtaal => adrianromero
2011-03-31 17:24 adrianromero Status new => scheduled
2011-04-01 12:33 hgbot Checkin
2011-04-01 12:33 hgbot Note Added: 0035456
2011-04-01 12:33 hgbot Status scheduled => resolved
2011-04-01 12:33 hgbot Resolution open => fixed
2011-04-01 12:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/ec9f5d609ce062db3856c4bf33d7523b547fa518 [^]
2011-05-03 11:02 jonalegriaesarte Note Added: 0036300
2011-05-03 11:02 jonalegriaesarte Status resolved => closed
2011-05-03 11:02 jonalegriaesarte Fixed in Version => 2.50MP30


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker