Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0056306 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [POS2] POS | critical | random | 2024-08-13 07:12 | 2024-08-30 07:52 | |||
| Reporter | sreehari | View Status | public | |||||
| Assigned To | sreehari | |||||||
| Priority | immediate | Resolution | fixed | Fixed in Version | 24Q3.1 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | 24Q3.1 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Support ticket | 56070 | |||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0056306: 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.  | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
||||||||
  | 
||||||||
  		Notes	 | 
|
| 
				(0168480) hgbot (developer) 2024-08-27 13:42  | 
	
		Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2878 [^] | 
| 
				(0168481) hgbot (developer) 2024-08-27 13:43  | 
	
		Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1654 [^] | 
| 
				(0168562) hgbot (developer) 2024-08-30 07:52  | 
	
		Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1654 [^] | 
| 
				(0168563) hgbot (developer) 2024-08-30 07:52  | 
	
		Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: acab34e2e29ed118d6b937641ab47b9da934d0f0 Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com> Date: 27-08-2024 17:01:14 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/acab34e2e29ed118d6b937641ab47b9da934d0f0 [^] Related ISSUE-56306: 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 ---  | 
| 
				(0168564) hgbot (developer) 2024-08-30 07:52  | 
	
		Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2878 [^] | 
| 
				(0168565) hgbot (developer) 2024-08-30 07:52  | 
	
		Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: bd984a6d11e819a341d05cae74c2dfe118f0e8c2 Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com> Date: 27-08-2024 17:01:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/bd984a6d11e819a341d05cae74c2dfe118f0e8c2 [^] Fixes ISSUE-56306: 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 | => 24Q3.1 | 
| 2024-08-27 13:42 | hgbot | Note Added: 0168480 | |
| 2024-08-27 13:43 | hgbot | Note Added: 0168481 | |
| 2024-08-30 07:52 | hgbot | Note Added: 0168562 | |
| 2024-08-30 07:52 | hgbot | Note Added: 0168563 | |
| 2024-08-30 07:52 | hgbot | Note Added: 0168564 | |
| 2024-08-30 07:52 | hgbot | Resolution | open => fixed | 
| 2024-08-30 07:52 | hgbot | Status | scheduled => closed | 
| 2024-08-30 07:52 | hgbot | Fixed in Version | => 24Q3.1 | 
| 2024-08-30 07:52 | hgbot | Note Added: 0168565 | |
| Copyright © 2000 - 2009 MantisBT Group |