Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0019162 | Openbravo ERP | A. Platform | public | 2011-11-24 03:23 | 2011-11-24 12:49 | |||||||
| Reporter | icematrix3k | |||||||||||
| Assigned To | alostale | |||||||||||
| Priority | normal | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | duplicate | |||||||||
| Platform | OS | 10 | OS Version | |||||||||
| Product Version | main | |||||||||||
| Target Version | Fixed in Version | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | Google Chrome | |||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0019162: CallStoredProcedure crashes if callling with NULL parameters | |||||||||||
| Description | In executing CallStoredProcedure.call() with NULL type paramenter, the function throws an 'Unknown Type' Postgresql Exception, thus rendering the function unusable. | |||||||||||
| Steps To Reproduce | Execute 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 Solution | Use Types.NULL when calling getNull(); I've attached a patch that fixes the problem, | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=4779&type=bug | |||||||||||
| 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 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||