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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045638
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2020-12-22 15:422021-01-29 10:08
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in VersionRR21Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0045638: 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 ]
depends on backport 0045806RR21Q1.1 closedranjith_qualiantech_com Extend state actions and hooks to allow usage and return of Global State 
depends on backport 0045807RR20Q4.2 closedranjith_qualiantech_com Extend state actions and hooks to allow usage and return of Global State 
depends on backport 0045808RR20Q3.4 closedranjith_qualiantech_com Extend state actions and hooks to allow usage and return of Global State 

-  Notes
(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 (developer)
2021-01-07 16:23

Reviewed and merged to master
(0125294)
jarmendariz (developer)
2021-01-07 16:24

Resolved in commit https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/686943ff04237705a7c54c046a66dbb07bb5a555 [^]

- Issue History
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 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 Note Added: 0125111
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
Powered by Mantis Bugtracker