Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045773 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Web POS | minor | have not tried | 2021-01-22 08:01 | 2021-02-01 13:55 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | high | 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 | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0045773: Ability to execute action post hooks after the model hooks | |||||||
Description | There 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 Reproduce | In description | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 --- |
![]() |
|||
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 | OBNetwork customer | => No |
2021-01-22 08:01 | caristu | Triggers an Emergency Pack | => No |
2021-01-30 13:00 | hgbot | Merge Request Status | => open |
2021-01-30 13:00 | hgbot | Note Added: 0125895 | |
2021-02-01 13:51 | hgbot | Merge Request Status | open => approved |
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 |