Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050409 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Web POS | minor | have not tried | 2022-10-04 17:22 | 2023-08-04 09:38 | |||
Reporter | jarmendariz | View Status | public | |||||
Assigned To | jarmendariz | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR23Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050409: Add a hook mechanism to let external modules add information on login request response body | |||||||
Description | The 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 Reproduce | See description | |||||||
Proposed Solution | Create a hook that can be implemented in any module and lets MobileCoreLoginHandler.java to extends the response JSONObject. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(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 --- |
![]() |
|||
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 |