Openbravo Issue Tracking System - Retail Modules | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0054904 | Retail Modules | Web POS | public | 2024-03-11 10:41 | 2024-03-11 10:55 | ||||||||
| Reporter | guilleaer | ||||||||||||
| Assigned To | Retail | ||||||||||||
| Priority | normal | Severity | critical | Reproducibility | have not tried | ||||||||
| Status | closed | Resolution | duplicate | ||||||||||
| Platform | OS | 5 | OS Version | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Merge Request Status | |||||||||||||
| Review Assigned To | |||||||||||||
| OBNetwork customer | No | ||||||||||||
| Support ticket | |||||||||||||
| Regression level | Coding ( Testing ) | ||||||||||||
| Regression date | |||||||||||||
| Regression introduced in release | |||||||||||||
| Regression introduced by commit | |||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||
| Summary | 0054904: "Save Again" does not work when trying to reprcoess an -errors while importing- | ||||||||||||
| Description | Save again does not work | ||||||||||||
| Steps To Reproduce | Add to order loader,java the following code @Override public JSONObject saveRecord(JSONObject jsonorder) throws Exception { + if (1 == 1) { + throw new OBException("GAL error"); + } From POS create an order It will go to errors while importing Remove above code press "save again" -> It does not work Eclipse stack trace: 2024-03-11 10:31:27,429 [http-nio-8080-exec-10] ERROR org.openbravo.retail.posterminal.SaveDataOnProcessHandler - Error while Saving the record org.codehaus.jettison.json.JSONException: A JSONArray text must start with '[' at character 1 of { "0":"DFCDA38B0E28420BA5B5FC5C7D240D46", "csrfToken":"F909B01C2E694DAAB428DEA96344C77D" } at org.codehaus.jettison.json.JSONTokener.syntaxError(JSONTokener.java:438) ~[jettison-1.3-patched.jar:?] at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:98) ~[jettison-1.3-patched.jar:?] at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:149) ~[jettison-1.3-patched.jar:?] at org.openbravo.retail.posterminal.SaveDataOnProcessHandler.execute(SaveDataOnProcessHandler.java:34) [classes/:?] at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:69) [classes/:?] at org.openbravo.retail.posterminal.SaveDataOnProcessHandler$Proxy$_$$_WeldClientProxy.execute(Unknown Source) [classes/:?] at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:319) [classes/:?] at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:208) [classes/:?] at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:291) [classes/:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) [servlet-api.jar:?] | ||||||||||||
| Proposed Solution | |||||||||||||
| Additional Information | |||||||||||||
| Tags | No tags attached. | ||||||||||||
| Relationships |
| ||||||||||||
| Attached Files | |||||||||||||
| Issue History | |||||||||||||
| Date Modified | Username | Field | Change | ||||||||||
| 2024-03-11 10:41 | guilleaer | New Issue | |||||||||||
| 2024-03-11 10:41 | guilleaer | Assigned To | => Retail | ||||||||||
| 2024-03-11 10:41 | guilleaer | OBNetwork customer | => No | ||||||||||
| 2024-03-11 10:41 | guilleaer | Regression level | => Coding ( Testing ) | ||||||||||
| 2024-03-11 10:41 | guilleaer | Triggers an Emergency Pack | => No | ||||||||||
| 2024-03-11 10:55 | AugustoMauch | Relationship added | duplicate of 0054801 | ||||||||||
| 2024-03-11 10:55 | AugustoMauch | Status | new => closed | ||||||||||
| 2024-03-11 10:55 | AugustoMauch | Resolution | open => duplicate | ||||||||||
| There are no notes attached to this issue. |