Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0016541 | Openbravo ERP | A. Platform | public | 2011-03-29 16:02 | 2011-05-03 11:02 |
|
| Reporter | adrianromero | |
| Assigned To | adrianromero | |
| Priority | normal | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | 2.50MP27 | |
| Target Version | 2.50MP30 | Fixed in Version | 2.50MP30 | |
| 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. |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | depends on | defect | 0016531 | | closed | dalsasua | Cannot use null in a BaseOBObject parameter when calling a procedure |
|
| Attached Files | |
|
| 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 |