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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045808
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSminorhave not tried2020-12-22 15:422021-02-01 06:24
ReportercbernerView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR20Q3.4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR20Q3.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojarmendariz
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045808: Extend state actions and hooks to allow usage and return of Global State

DescriptionCurrently, 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 ReproduceIn description.
Proposed SolutionAdd 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0045638 closedcberner Extend state actions and hooks to allow usage and return of Global State 

-  Notes
(0125900)
hgbot (developer)
2021-02-01 06:24

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: c4a7a7c3fd5e65e8060c7f633b99004c53e33fcb
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-02-01T10:54:42+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/c4a7a7c3fd5e65e8060c7f633b99004c53e33fcb [^]

Fixed ISSUE-45808: 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
---

- Issue History
Date Modified Username Field Change
2021-01-29 07:23 marvintm Type feature request => backport
2021-01-29 07:23 marvintm Target Version => RR20Q3.4
2021-01-29 08:39 ranjith_qualiantech_com Assigned To cberner => ranjith_qualiantech_com
2021-02-01 06:24 hgbot Resolution open => fixed
2021-02-01 06:24 hgbot Status scheduled => closed
2021-02-01 06:24 hgbot Fixed in Version => RR20Q3.4
2021-02-01 06:24 hgbot Note Added: 0125900


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker