Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0054904 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | critical | have not tried | 2024-03-11 10:41 | 2024-03-11 10:55 | |||
Reporter | guilleaer | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
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:?] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
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 | 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 |
Copyright © 2000 - 2009 MantisBT Group |