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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056307
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POScriticalrandom2024-08-13 07:122024-08-30 07:53
ReportersreehariView Statuspublic 
Assigned Tosreehari 
PriorityimmediateResolutionfixedFixed in Version24Q2.3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q2.3
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

0056307: Implement second Mitigation for duplicating document sequence number

DescriptionFirst Mitigation correctly detects if the state is incorrect

Second Mitigation should detect that the state is consistent, but outdated


Steps To Reproduce1.Force a request to the backend, to retrieve "latest" sequence values

2.Compare these latest sequence values with the current ones in the state

Adding a else case to this if condition
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2811/diffs#f4d041f0b1c18efe7cf1078a093ace355ae7efb7_141_145 [^]
Proposed Solutionif at least one is greater in the backend -> something went wrong,
and the state i outdated.
In this case, force the regeneration of the sequence values from the ones in the backend.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0056246 closedsreehari Implement second Mitigation for duplicating document sequence number 

-  Notes
(0168478)
hgbot (developer)
2024-08-27 12:48

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1653 [^]
(0168479)
hgbot (developer)
2024-08-27 12:49

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2877 [^]
(0168566)
hgbot (developer)
2024-08-30 07:52

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c0c7730b5e81c711759b2f509e32af34f8f544dd
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 27-08-2024 16:07:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c0c7730b5e81c711759b2f509e32af34f8f544dd [^]

Related ISSUE-56307: Added utility functions for the mitigation mechanism

---
M web/org.openbravo.retail.posterminal/app/model/business-object/document-sequence/DocumentSequenceUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/document-sequence/actions/InitializeSequence.js
---
(0168567)
hgbot (developer)
2024-08-30 07:52

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1653 [^]
(0168568)
hgbot (developer)
2024-08-30 07:53

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2877 [^]
(0168569)
hgbot (developer)
2024-08-30 07:53

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d93b2c1718292a59c06eaf2d38ab298c54a6c284
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 30-08-2024 05:52:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d93b2c1718292a59c06eaf2d38ab298c54a6c284 [^]

Fixes ISSUE-56307: Added case to compare state & BO Document Sequences

---
M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js
---

- Issue History
Date Modified Username Field Change
2024-08-27 08:20 marvintm Type defect => backport
2024-08-27 08:20 marvintm Target Version => 24Q2.3
2024-08-27 12:48 hgbot Note Added: 0168478
2024-08-27 12:49 hgbot Note Added: 0168479
2024-08-30 07:52 hgbot Note Added: 0168566
2024-08-30 07:52 hgbot Note Added: 0168567
2024-08-30 07:53 hgbot Note Added: 0168568
2024-08-30 07:53 hgbot Resolution open => fixed
2024-08-30 07:53 hgbot Status scheduled => closed
2024-08-30 07:53 hgbot Fixed in Version => 24Q2.3
2024-08-30 07:53 hgbot Note Added: 0168569


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker