Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054904
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POScriticalhave not tried2024-03-11 10:412024-03-11 10:55
ReporterguilleaerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelCoding ( Testing )
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054904: "Save Again" does not work when trying to reprcoess an -errors while importing-

DescriptionSave again does not work
Steps To ReproduceAdd 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:?]

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0054801 closedjarmendariz POS2 Error while forcing "Close Tills" from Backend 

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker