Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0016541 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Openbravo ERP] A. Platform | minor | sometimes | 2011-03-29 16:02 | 2011-05-03 11:02 | |||
| Reporter | adrianromero | View Status | public | |||||
| Assigned To | adrianromero | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 2.50MP30 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | ec9f5d609ce0 | ||||
| Projection | none | ETA | none | Target Version | 2.50MP30 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | 2.50MP27 | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | OBPS | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0016541: Cannot use null in a BaseOBObject parameter when calling a procedure | |||||||
| Description | When 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 Reproduce | When 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. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
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 (viewer) 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 | OBNetwork customer | => Yes |
| 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 |