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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051518
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajorhave not tried2023-01-31 14:412023-02-01 12:57
ReporternjimenezView Statuspublic 
Assigned Tonjimenez 
PrioritynormalResolutionfixedFixed in Version23Q2
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

0051518: The user action reasons and approvals persisted info can be duplicated in some cases

DescriptionIf 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 Reproduce1. 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0050868 closedcaristu Persist user actions reasons and approvals 

-  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
Powered by Mantis Bugtracker