Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051518 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | major | have not tried | 2023-01-31 14:41 | 2023-02-01 12:57 | |||
Reporter | njimenez | View Status | public | |||||
Assigned To | njimenez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 23Q2 | |||
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 | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0051518: The user action reasons and approvals persisted info can be duplicated in some cases | |||||||
Description | If a state action on its hooks execution calls another state action, the persisted information on approvals history window is registered twice. Even it is a bad practice to call a state action from the post hook of another state action, as this is a case that its recurring we are going to implement some improvements to avoid this situation. | |||||||
Steps To Reproduce | 1. Configure a user action reasons for verify return 2. Go the POS2 application 3. Create a verify return and provide a user action reason 4. Finish the verify return 5. Go to the backoffice -> Returns from customer window and see how the approval reason has been saved twice. | |||||||
Proposed Solution | . | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0146085) hgbot (developer) 2023-01-31 14:54 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/972 [^] |
(0146117) hgbot (developer) 2023-02-01 12:52 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/972 [^] |
(0146118) hgbot (developer) 2023-02-01 12:52 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: 9d1d60f092fe8c5b178118adb089b6b4b98c042e Author: Natalia Jimenez <natalia.jimenez@openbravo.com> Date: 01-02-2023 11:52:43 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/9d1d60f092fe8c5b178118adb089b6b4b98c042e [^] Fixed BUG-51518: avoid generate duplicated reasons and approvals persisted info --- M web-jspack/org.openbravo.core2/src/core/user-action/UserAction.js M web-jspack/org.openbravo.core2/src/core/user-action/__test__/UserAction.test.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2023-01-31 14:41 | njimenez | New Issue | |
2023-01-31 14:41 | njimenez | Assigned To | => njimenez |
2023-01-31 14:41 | njimenez | Triggers an Emergency Pack | => No |
2023-01-31 14:42 | njimenez | Relationship added | related to 0002755 |
2023-01-31 14:42 | njimenez | Relationship deleted | related to 0002755 |
2023-01-31 14:42 | njimenez | Relationship added | related to 0050868 |
2023-01-31 14:54 | hgbot | Note Added: 0146085 | |
2023-02-01 12:52 | hgbot | Note Added: 0146117 | |
2023-02-01 12:52 | hgbot | Resolution | open => fixed |
2023-02-01 12:52 | hgbot | Status | new => closed |
2023-02-01 12:52 | hgbot | Fixed in Version | => 23Q2 |
2023-02-01 12:52 | hgbot | Note Added: 0146118 | |
2023-02-01 12:57 | caristu | Summary | The user action reasons and approvals can be persisted twice => The same user action reasons and approvals persisted info can be duplicated |
2023-02-01 12:57 | caristu | Summary | The same user action reasons and approvals persisted info can be duplicated => The user action reasons and approvals persisted info can be duplicated in some cases |
Copyright © 2000 - 2009 MantisBT Group |