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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040940
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServerminorhave not tried2019-05-23 12:162019-05-25 22:05
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionac5dfd1c1553
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040940: CheckApproval does not support cross domain calls in multi-server

DescriptionIn multi-server when approving a ticket the checkapproval servlet does not allow cross domain calls so webpos will always call central (as the store server will deny access).

This means that checkapproval does not work offline.
Steps To ReproduceInstall multi-server
Enable price change approval
Create ticket and change price
when approving check the chrome network console and see cors denial from the store server
Proposed SolutionEnable cors for the check approval servlet. See attached diff
TagsNo tags attached.
Attached Filesdiff file icon check-approval.diff [^] (945 bytes) 2019-05-23 12:16 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0039189 closedRetail API Change - CheckApproval extends from HttpServlet instead of JSONProcessSimple 

-  Notes
(0112138)
hgbot (developer)
2019-05-25 21:56

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ac5dfd1c1553948e25b8c58ec8408134329878da
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat May 25 12:02:02 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ac5dfd1c1553948e25b8c58ec8408134329878da [^]

Fixes issue 40940: CheckApproval does not support cross domain calls in multi-server
Set cors headers

---
M src/org/openbravo/retail/posterminal/utility/CheckApproval.java
---
(0112139)
mtaal (manager)
2019-05-25 22:05

reviewed by Antonio

- Issue History
Date Modified Username Field Change
2019-05-23 12:16 mtaal New Issue
2019-05-23 12:16 mtaal Assigned To => mtaal
2019-05-23 12:16 mtaal File Added: check-approval.diff
2019-05-23 12:16 mtaal Triggers an Emergency Pack => No
2019-05-23 12:16 mtaal Relationship added related to 0039189
2019-05-25 21:56 hgbot Checkin
2019-05-25 21:56 hgbot Note Added: 0112138
2019-05-25 21:56 hgbot Status new => resolved
2019-05-25 21:56 hgbot Resolution open => fixed
2019-05-25 21:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ac5dfd1c1553948e25b8c58ec8408134329878da [^]
2019-05-25 22:05 mtaal Note Added: 0112139
2019-05-25 22:05 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker