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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056246
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POScriticalrandom2024-08-13 07:122024-10-31 13:17
ReportersreehariView Statuspublic 
Assigned Tosreehari 
PriorityimmediateResolutionfixedFixed in Version24Q4
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

0056246: 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 ]
related to defect 0056070 closedsreehari When sequenceNumber is undefined we get it from terminal and we get DocumentNo duplicated 
related to feature request 0056377 scheduledAugustoMauch Management of inconsistent application state should be properly addressed in core2 applications 
depends on backport 005630624Q3.1 closedsreehari Implement second Mitigation for duplicating document sequence number 
depends on backport 005630724Q2.3 closedsreehari Implement second Mitigation for duplicating document sequence number 

-  Notes
(0168062)
hgbot (developer)
2024-08-14 07:26

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1648 [^]
(0168063)
hgbot (developer)
2024-08-14 07:27

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2859 [^]
(0168115)
hgbot (developer)
2024-08-16 08:07

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1648 [^]
(0168116)
hgbot (developer)
2024-08-16 08:07

Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-56246: 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
---
(0168117)
hgbot (developer)
2024-08-16 08:07

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2859 [^]
(0168118)
hgbot (developer)
2024-08-16 08:07

Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-56246: 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-13 07:12 sreehari New Issue
2024-08-13 07:12 sreehari Assigned To => sreehari
2024-08-13 07:12 sreehari Triggers an Emergency Pack => No
2024-08-13 07:14 sreehari Relationship added related to 0056070
2024-08-13 08:06 sreehari Status new => scheduled
2024-08-13 08:33 sreehari Description Updated View Revisions
2024-08-13 08:33 sreehari Steps to Reproduce Updated View Revisions
2024-08-14 07:26 hgbot Note Added: 0168062
2024-08-14 07:27 hgbot Note Added: 0168063
2024-08-16 08:07 hgbot Resolution open => fixed
2024-08-16 08:07 hgbot Status scheduled => closed
2024-08-16 08:07 hgbot Note Added: 0168115
2024-08-16 08:07 hgbot Fixed in Version => RR24Q4
2024-08-16 08:07 hgbot Note Added: 0168116
2024-08-16 08:07 hgbot Note Added: 0168117
2024-08-16 08:07 hgbot Fixed in Version RR24Q4 => 24Q4
2024-08-16 08:07 hgbot Note Added: 0168118
2024-08-27 08:20 marvintm Status closed => new
2024-08-27 08:20 marvintm Resolution fixed => open
2024-08-27 08:20 marvintm Fixed in Version 24Q4 =>
2024-08-27 08:20 marvintm Status new => scheduled
2024-08-27 08:20 marvintm Status scheduled => resolved
2024-08-27 08:20 marvintm Fixed in Version => 24Q4
2024-08-27 08:20 marvintm Resolution open => fixed
2024-08-27 08:21 marvintm Status resolved => closed
2024-10-31 13:17 malsasua Relationship added related to 0056377


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker