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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045773
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2021-01-22 08:012021-02-01 13:55
ReportercaristuView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionfixedFixed in VersionRR21Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045773: Ability to execute action post hooks after the model hooks

DescriptionThere could be cases were we need to execute some logic after the execution of the model hooks and this is not possible right now. This is because model hooks are the last hooks that are executed.

So, it would be nice to have the ability of configuring action post hooks to decided whether they should be executed before or after the model hooks.
Steps To ReproduceIn description
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0125895)
hgbot (developer)
2021-01-30 13:00

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/144 [^]
(0125919)
hgbot (developer)
2021-02-01 13:55

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/144 [^]
(0125920)
hgbot (developer)
2021-02-01 13:55

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: fcc0616c49d05926681a113b68c6268b3f845170
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2021-02-01T13:46:16+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/fcc0616c49d05926681a113b68c6268b3f845170 [^]

Fixes ISSUE-45773: Ability to execute action post hooks after the model hooks

This adds a new flag when registering post-hooks: isAfterModelHook
If set to true, it will execute those post-hooks after the model hooks.
By default, post-hooks will be executed before the model hooks, same
logic as before.

Some tests were added to StatePersistence and StateAPI test files.

---
M web-test/model/application-state/StateAPI.test.js
M web-test/model/application-state/StatePersistence.functional.test.js
M web/org.openbravo.mobile.core/app/model/application-state/StateAPI.js
M web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js
---

- Issue History
Date Modified Username Field Change
2021-01-22 08:01 caristu New Issue
2021-01-22 08:01 caristu Assigned To => Retail
2021-01-22 08:01 caristu Triggers an Emergency Pack => No
2021-01-30 13:00 hgbot Note Added: 0125895
2021-02-01 13:55 hgbot Resolution open => fixed
2021-02-01 13:55 hgbot Status new => closed
2021-02-01 13:55 hgbot Note Added: 0125919
2021-02-01 13:55 hgbot Fixed in Version => RR21Q2
2021-02-01 13:55 hgbot Note Added: 0125920


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker