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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019162
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2011-11-24 03:232011-11-24 12:49
Reportericematrix3kView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSWindowsDatabasePostgreSQLJava version
OS VersionDatabase version8.4Ant version
Product VersionmainSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019162: CallStoredProcedure crashes if callling with NULL parameters

DescriptionIn executing CallStoredProcedure.call() with NULL type paramenter, the function throws an 'Unknown Type' Postgresql Exception, thus rendering the function unusable.

Steps To ReproduceExecute the following code in a test environment:

CallStoredProcedure.call("c_order_post",null,null);

Expected: Error from function ERROR: @NotCorrectOrgDoctypeOrder@

Observed: An 'Unknown Type' exception.
Proposed SolutionUse Types.NULL when calling getNull();

I've attached a patch that fixes the problem,
TagsNo tags attached.
Attached Filespatch file icon main_rev14267.patch [^] (1,442 bytes) 2011-11-24 03:23 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 00191643.0MP6 closedalostale Error when "CallStoredProcedure" receives empty string ("") in PostgreSQL 

-  Notes
(0043153)
alostale (manager)
2011-11-24 12:49

Duplicated of immediate issue 0019164

- Issue History
Date Modified Username Field Change
2011-11-24 03:23 icematrix3k New Issue
2011-11-24 03:23 icematrix3k Assigned To => alostale
2011-11-24 03:23 icematrix3k File Added: main_rev14267.patch
2011-11-24 03:23 icematrix3k Web browser => Google Chrome
2011-11-24 03:23 icematrix3k Modules => Core
2011-11-24 03:23 icematrix3k Issue Monitored: icematrix3k
2011-11-24 12:49 alostale Relationship added duplicate of 0019164
2011-11-24 12:49 alostale Note Added: 0043153
2011-11-24 12:49 alostale Status new => closed
2011-11-24 12:49 alostale Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker