Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026914 | Openbravo ERP | A. Platform | public | 2014-06-20 15:54 | 2014-06-26 15:51 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | immediate | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR14Q3 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Pre packaging ( pi ) |
Regression date | 2014-05-22 |
Regression introduced in release | |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/ee094619e3f0 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0026914: Existent Process Definition can fail if they don't have a single grid param |
Description | Old process definition marked as "Compatibility with Legacy Grids" which first parameter is not a grid fail to execute.
The problem is in the legacy conversion code: it assumes legacy processes are P&E with a single parameter which is a grid. It will fail if:
-There is no grid parameter
-The grid parameter is not the first one in the JSON sent |
Steps To Reproduce | -Install Copy Store Process module
-Execute the Copy Store process -> the process is not executed, error is logged in openbravo.log:
org.codehaus.jettison.json.JSONException: JSONObject["organization"] is not a JSONObject.
at org.codehaus.jettison.json.JSONObject.getJSONObject(JSONObject.java:458)
at org.openbravo.client.application.process.BaseProcessActionHandler.execute(BaseProcessActionHandler.java:129) |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0025995 | 3.0PR14Q3 | closed | AugustoMauch | Parameter Windows Phase III |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-06-20 15:54 | alostale | New Issue | |
2014-06-20 15:54 | alostale | Assigned To | => alostale |
2014-06-20 15:54 | alostale | Modules | => Core |
2014-06-20 15:54 | alostale | Triggers an Emergency Pack | => No |
2014-06-20 15:56 | alostale | Regression level | => Pre packaging ( pi ) |
2014-06-20 15:56 | alostale | Regression date | => 2014-05-22 |
2014-06-20 15:56 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/ee094619e3f0 [^] |
2014-06-20 15:57 | alostale | Relationship added | related to 0025995 |
2014-06-20 15:57 | alostale | Review Assigned To | => AugustoMauch |
2014-06-20 16:00 | hgbot | Checkin | |
2014-06-20 16:00 | hgbot | Note Added: 0068230 | |
2014-06-20 16:00 | hgbot | Status | new => resolved |
2014-06-20 16:00 | hgbot | Resolution | open => fixed |
2014-06-20 16:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d615b5db09cd05e7dc8d1cf6c2d17eae1ee65ccb [^] |
2014-06-25 01:35 | hudsonbot | Checkin | |
2014-06-25 01:35 | hudsonbot | Note Added: 0068290 | |
2014-06-26 15:51 | AugustoMauch | Note Added: 0068356 | |
2014-06-26 15:51 | AugustoMauch | Status | resolved => closed |
2014-06-26 15:51 | AugustoMauch | Fixed in Version | => PR14Q3 |