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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056648
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Events for Clientmajoralways2024-10-03 18:132024-10-07 10:37
ReporternjimenezView Statuspublic 
Assigned Tonjimenez 
PrioritynormalResolutionfixedFixed in VersionRR25Q1
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

0056648: Client event api requests makes the terminal to go offline

DescriptionIn case an external system subscribed to any client event api making use of the http protocol with authorization type oauth 2.0, the terminal goes offline sometimes.

This issue is reproduced when the authorization call to the provider server gets a timeout. While this request fail the remote server execute the transition to offline logic.

It is not required as the backed server is being used as middleware with the oauth2 authorization server.
Steps To Reproduce1. Configure an external system with protocol http frontend.
2. In http for client subtab set the authorization type to OAuth 2.0
3. Configure the parameters of a server that will not answer the request
4. Make use of this external system on an client api at events subscription window.
5. Execute the logic of the api to force a call to the external system
6. See how while receiving a timeout on the request the remote server makes the terminal to go offline
Proposed Solution.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0169987)
hgbot (developer)
2024-10-04 09:55

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/754 [^]
(0170038)
hgbot (developer)
2024-10-07 10:37

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/754 [^]
(0170039)
hgbot (developer)
2024-10-07 10:37

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: c79a48c53023cb1ff44cebe172cdd2b612097d05
Author: Natalia Jiménez <n.jimenez@orisha.com>
Date: 07-10-2024 10:08:15
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/c79a48c53023cb1ff44cebe172cdd2b612097d05 [^]

Fixed ISSUE-56648: Added remote server for oauth2 request on external systems to avoid switching to offline in case of errors

---
A web-test/integration/remote-server/OAuth2Server.test.js
A web/org.openbravo.mobile.core/app/integration/remote-server/OAuth2Server.js
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
---

- Issue History
Date Modified Username Field Change
2024-10-03 18:13 njimenez New Issue
2024-10-03 18:13 njimenez Assigned To => njimenez
2024-10-03 18:13 njimenez Triggers an Emergency Pack => No
2024-10-04 09:55 hgbot Note Added: 0169987
2024-10-07 10:37 hgbot Note Added: 0170038
2024-10-07 10:37 hgbot Resolution open => fixed
2024-10-07 10:37 hgbot Status new => closed
2024-10-07 10:37 hgbot Fixed in Version => RR25Q1
2024-10-07 10:37 hgbot Note Added: 0170039


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker