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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050409
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2022-10-04 17:222023-08-04 09:38
ReporterjarmendarizView Statuspublic 
Assigned Tojarmendariz 
PrioritynormalResolutionfixedFixed in VersionRR23Q4
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

0050409: Add a hook mechanism to let external modules add information on login request response body

DescriptionThe class responsible of doing the login process in mobile applications is MobileCoreLoginHandler.java. This class writes a JSONObject with some data (such as the CSRF token) to be sent as part of the response body.

This class can be extended and can write a new response in case of error just like POSLoginHandler, but there is no mechanism to send additional information on a successful login.
Steps To ReproduceSee description
Proposed SolutionCreate a hook that can be implemented in any module and lets MobileCoreLoginHandler.java to extends the response JSONObject.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0049857 closedjarmendariz POS2 Full Refresh Throttling 

-  Notes
(0141654)
hgbot (developer)
2022-10-04 18:20

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/416 [^]
(0153202)
hgbot (developer)
2023-08-04 08:52

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/416 [^]
(0153203)
hgbot (developer)
2023-08-04 08:52

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: bbcbabcaa212ee57c62f1b392852bbd60b16b1d6
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 04-08-2023 06:52:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/bbcbabcaa212ee57c62f1b392852bbd60b16b1d6 [^]

Fixed ISSUE-50409: Adding a hook to extend the JSON response of login handler when login is successful

---
A src/org/openbravo/mobile/core/login/LoginHandlerAdditionalResponse.java
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
(0153206)
hgbot (developer)
2023-08-04 09:37

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 7896b40fc112a7caaf139c1d5f4e31581df34ec2
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 04-08-2023 09:36:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/7896b40fc112a7caaf139c1d5f4e31581df34ec2 [^]

Related to ISSUE-50409: Fixed copyright notice and code formatting

---
M src/org/openbravo/mobile/core/login/LoginHandlerAdditionalResponse.java
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
(0153207)
hgbot (developer)
2023-08-04 09:38

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: bc00242982caebda19a1953e3afe49338bc8a469
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 04-08-2023 09:38:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/bc00242982caebda19a1953e3afe49338bc8a469 [^]

Related to ISSUE-50409: Fixed copyright notice

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---

- Issue History
Date Modified Username Field Change
2022-10-04 17:22 jarmendariz New Issue
2022-10-04 17:22 jarmendariz Assigned To => jarmendariz
2022-10-04 17:22 jarmendariz Triggers an Emergency Pack => No
2022-10-04 17:22 jarmendariz Relationship added blocks 0049857
2022-10-04 17:22 jarmendariz Status new => scheduled
2022-10-04 18:20 hgbot Note Added: 0141654
2023-08-04 08:52 hgbot Note Added: 0153202
2023-08-04 08:52 hgbot Resolution open => fixed
2023-08-04 08:52 hgbot Status scheduled => closed
2023-08-04 08:52 hgbot Fixed in Version => RR23Q4
2023-08-04 08:52 hgbot Note Added: 0153203
2023-08-04 09:37 hgbot Note Added: 0153206
2023-08-04 09:38 hgbot Note Added: 0153207


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker