Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0056246 | POS2 | POS | public | 2024-08-13 07:12 | 2024-10-31 13:17 |
|
Reporter | sreehari | |
Assigned To | sreehari | |
Priority | immediate | Severity | critical | Reproducibility | random |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 24Q4 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0056246: Implement second Mitigation for duplicating document sequence number |
Description | First Mitigation correctly detects if the state is incorrect
Second Mitigation should detect that the state is consistent, but outdated
|
Steps To Reproduce | 1.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 Solution | if 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. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0056070 | | closed | sreehari | When sequenceNumber is undefined we get it from terminal and we get DocumentNo duplicated | related to | feature request | 0056377 | | scheduled | AugustoMauch | Management of inconsistent application state should be properly addressed in core2 applications | depends on | backport | 0056306 | 24Q3.1 | closed | sreehari | Implement second Mitigation for duplicating document sequence number | depends on | backport | 0056307 | 24Q2.3 | closed | sreehari | Implement second Mitigation for duplicating document sequence number |
|
Attached Files | |
|
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 | bug_revision_view_page.php?rev_id=28331#r28331 |
2024-08-13 08:33 | sreehari | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=28333#r28333 |
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 |
Notes |
|
(0168062)
|
hgbot
|
2024-08-14 07:26
|
|
|
|
(0168063)
|
hgbot
|
2024-08-14 07:27
|
|
|
|
(0168115)
|
hgbot
|
2024-08-16 08:07
|
|
|
|
(0168116)
|
hgbot
|
2024-08-16 08:07
|
|
|
|
(0168117)
|
hgbot
|
2024-08-16 08:07
|
|
|
|
(0168118)
|
hgbot
|
2024-08-16 08:07
|
|
|