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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053569
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POS Hardware Managermajorhave not tried2023-09-29 16:432023-10-19 14:32
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in VersionRR24Q1
StatusclosedFix in branchFixed in SCM revision
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

0053569: Improve CORS proxy to return response codes

DescriptionNow response codes different that HTTP_OK 200 throws an exception, making it impossible to manage the differnt response codes in the client side.
Steps To ReproduceN/A
Proposed SolutionImprove CORS proxy requests to allow responses to return the remote response code. For backwards compatibility reasons, this new behavior must be activated adding a new property in the request JSON:

{
  ...
  captureresponsecode: true
}
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0155393)
hgbot (developer)
2023-09-29 16:47

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/97 [^]
(0156072)
hgbot (developer)
2023-10-19 14:27

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/97 [^]
(0156073)
hgbot (developer)
2023-10-19 14:27

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources [^]
Changeset: aed4df956707dadcc53f72f69b4e9432a3ca587e
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 19-10-2023 12:19:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/commit/aed4df956707dadcc53f72f69b4e9432a3ca587e [^]

Fixes ISSUE-53569: Improves CORS proxy to return response codes
* Adds new json property to proxy request: captureResponseCode

---
M project/src/com/openbravo/pos/util/HttpResult.java
M project/src/com/openbravo/pos/util/HttpServices.java
M project/src/com/openbravo/poshw/AutoRegisterUrl.java
M project/src/com/openbravo/poshw/HttpServiceServlet.java
---
(0156076)
hgbot (developer)
2023-10-19 14:32

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager [^]
Changeset: a9fa427a210ebfbd486aeb47f056054347e44960
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 19-10-2023 14:31:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/commit/a9fa427a210ebfbd486aeb47f056054347e44960 [^]

Related ISSUE-53569: Improves CORS proxy to return response codes

---
M bin/poshw.jar
M bin/rev.id
---

- Issue History
Date Modified Username Field Change
2023-09-29 16:43 adrianromero New Issue
2023-09-29 16:43 adrianromero Assigned To => adrianromero
2023-09-29 16:43 adrianromero Triggers an Emergency Pack => No
2023-09-29 16:47 hgbot Note Added: 0155393
2023-09-29 17:25 adrianromero Proposed Solution updated
2023-10-19 14:27 hgbot Note Added: 0156072
2023-10-19 14:27 hgbot Resolution open => fixed
2023-10-19 14:27 hgbot Status new => closed
2023-10-19 14:27 hgbot Fixed in Version => RR24Q1
2023-10-19 14:27 hgbot Note Added: 0156073
2023-10-19 14:32 hgbot Note Added: 0156076


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker