Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045638 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Web POS | minor | have not tried | 2020-12-22 15:42 | 2021-01-29 10:08 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR21Q2 | |||
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 | |||||||
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 | 0045638: 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 | ||||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(0125111) hgbot (developer) 2020-12-28 15:49 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/117 [^] |
(0125291) hgbot (developer) 2021-01-07 16:18 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: 686943ff04237705a7c54c046a66dbb07bb5a555 Author: Javier Armendáriz <javier.armendariz@openbravo.com> Date: 2021-01-07T16:16:14+01:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/686943ff04237705a7c54c046a66dbb07bb5a555 [^] Merge FR-45638: Extends StateAPI to support model actions that returns the global state instead of only the model MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/117 [^] --- 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 --- |
(0125292) hgbot (developer) 2021-01-07 16:18 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/117 [^] |
(0125293) jarmendariz (viewer) 2021-01-07 16:23 |
Reviewed and merged to master |
(0125294) jarmendariz (viewer) 2021-01-07 16:24 |
Resolved in commit https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/686943ff04237705a7c54c046a66dbb07bb5a555 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2020-12-22 15:42 | cberner | New Issue | |
2020-12-22 15:42 | cberner | Assigned To | => cberner |
2020-12-22 15:42 | cberner | OBNetwork customer | => No |
2020-12-22 15:42 | cberner | Triggers an Emergency Pack | => No |
2020-12-22 15:42 | cberner | Type | defect => feature request |
2020-12-22 17:16 | cberner | Summary | Extend state actions to allow usage and return of Global State => Extend state model hook to allow usage and return of Global State |
2020-12-22 17:16 | cberner | Description Updated | View Revisions |
2020-12-22 17:16 | cberner | Proposed Solution updated | |
2020-12-23 13:58 | cberner | Summary | Extend state model hook to allow usage and return of Global State => Extend state actions and hooks to allow usage and return of Global State |
2020-12-23 13:58 | cberner | Description Updated | View Revisions |
2020-12-23 13:58 | cberner | Proposed Solution updated | |
2020-12-28 15:49 | hgbot | Merge Request Status | => open |
2020-12-28 15:49 | hgbot | Note Added: 0125111 | |
2021-01-07 16:15 | hgbot | Merge Request Status | open => approved |
2021-01-07 16:18 | hgbot | Note Added: 0125291 | |
2021-01-07 16:18 | hgbot | Note Added: 0125292 | |
2021-01-07 16:23 | jarmendariz | Note Added: 0125293 | |
2021-01-07 16:23 | jarmendariz | Review Assigned To | => jarmendariz |
2021-01-07 16:23 | jarmendariz | Status | new => scheduled |
2021-01-07 16:24 | jarmendariz | Note Added: 0125294 | |
2021-01-07 16:24 | jarmendariz | Status | scheduled => resolved |
2021-01-07 16:24 | jarmendariz | Resolution | open => fixed |
2021-01-07 16:25 | jarmendariz | Status | resolved => closed |
2021-01-29 07:23 | marvintm | Status | closed => new |
2021-01-29 07:23 | marvintm | Resolution | fixed => open |
2021-01-29 07:23 | marvintm | Status | new => scheduled |
2021-01-29 07:24 | marvintm | Status | scheduled => resolved |
2021-01-29 07:24 | marvintm | Fixed in Version | => RR21Q2 |
2021-01-29 07:24 | marvintm | Resolution | open => fixed |
2021-01-29 07:24 | marvintm | Status | resolved => closed |
2021-01-29 10:08 | martinsdan | Issue Monitored: martinsdan |
Copyright © 2000 - 2009 MantisBT Group |