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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051450
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2023-01-25 10:482023-08-08 13:31
ReporterjarmendarizView Statuspublic 
Assigned ToTriage Platform Base 
PriorityurgentResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojarmendariz
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051450: Keymap edition fails while importing when keymap information in terminal is not synchronized with server

DescriptionWhen editing the Keymap using the Keymap Editor in POS2, it is possible that the data contained is not up-to-date with the info stored in server. When this mismatch occurs, terminal tries to save new product entries using a different ID that the one stored in server causing this exception:

org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "obpos2_keymap_prod_btn_pos_u"
Steps To Reproduce- In POS Keymap -> MainApp Keymap -> Best Sellers -> Product Tab, create a new product entry without a value in "Product Button Appearance" and "Product Button Position" subtab.

- Open 2 VBS-2 terminal and refresh masterdata in both to ensure that both have the newly created product entry in Keymap Editor.

- Enter Keymap Editor -> Main App Keymap -> v1 -> Edit Layout
  - Check that the new product is available in the accordion on the left
  - Add this product to the Keymap in terminal 1 and press Save button
  - Add this product to the keymap in terminal 2 and press Save button

- Go to "errors while importing POS Data" Window in Backoffice and check there are errors.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0052045 closedmeriem_azaf Do not allow to use the Keymap Editor window if the master data is not up to date enoughIf they keymap editor is used with stale 

-  Notes
(0145835)
hgbot (developer)
2023-01-25 14:14

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1482 [^]
(0153332)
jarmendariz (developer)
2023-08-08 13:26

This issue is no longer reproducible. Probably fixed by 0052045
(0153333)
hgbot (developer)
2023-08-08 13:27

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1482 [^]

- Issue History
Date Modified Username Field Change
2023-01-25 10:48 jarmendariz New Issue
2023-01-25 10:48 jarmendariz Assigned To => Triage Platform Base
2023-01-25 10:48 jarmendariz Triggers an Emergency Pack => No
2023-01-25 14:14 hgbot Note Added: 0145835
2023-08-08 13:26 jarmendariz Review Assigned To => jarmendariz
2023-08-08 13:26 jarmendariz Note Added: 0153332
2023-08-08 13:26 jarmendariz Status new => closed
2023-08-08 13:26 jarmendariz Resolution open => unable to reproduce
2023-08-08 13:27 hgbot Note Added: 0153333
2023-08-08 13:31 jarmendariz Relationship added related to 0052045


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker