Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045806 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | minor | have not tried | 2020-12-22 15:42 | 2021-02-01 04:36 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR21Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | RR21Q1.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | jarmendariz | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0045806: Extend state actions and hooks to allow usage and return of Global State | |||||||
Description | Currently, model actions and hooks in mobile.core only support state at the model level(not counting Global Actions), and return a part of the State, the one regarding the model. This is a limitation for other tasks, as such, an extension should be made on those hooks to accept and return the modified state, completely, that means, if a Global State is provided, it should apply the same changes as before, but return the modified Global State, not just the part regarding the model. This should be done in the scope of org.openbravo.mobile.core module. | |||||||
Steps To Reproduce | In description. | |||||||
Proposed Solution | Add a third parameter to actions and hooks that also includes the Global State(options), if this parameter is present where needed, state returned will be the global state with the modified parts, instead of only the model with the modified parts. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0125898) hgbot (developer) 2021-02-01 04:36 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: a366c85b98f257d89dbf7eb9d4ce938eb7185228 Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-02-01T09:06:25+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/a366c85b98f257d89dbf7eb9d4ce938eb7185228 [^] Fixed ISSUE-45806: Extends StateAPI to support model actions that returns the global state instead of only the model --- M web-test/base/state-utils.js M web-test/model/application-state/State.test.js M web-test/model/application-state/StatePersistence.functional.test.js M web/org.openbravo.mobile.core/app/model/application-state/State.js M web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2021-01-29 07:23 | marvintm | Type | feature request => backport |
2021-01-29 07:23 | marvintm | Target Version | => RR21Q1.1 |
2021-01-29 08:39 | ranjith_qualiantech_com | Assigned To | cberner => ranjith_qualiantech_com |
2021-01-29 10:09 | martinsdan | Issue Monitored: martinsdan | |
2021-02-01 04:36 | hgbot | Resolution | open => fixed |
2021-02-01 04:36 | hgbot | Status | scheduled => closed |
2021-02-01 04:36 | hgbot | Fixed in Version | => RR21Q1 |
2021-02-01 04:36 | hgbot | Note Added: 0125898 |
Copyright © 2000 - 2009 MantisBT Group |