Openbravo Issue Tracking System - POS2
View Issue Details
0047038POS2POSpublic2021-06-08 17:102021-06-30 09:31
AugustoMauch 
hernan-dp 
urgentcriticalhave not tried
closedfixed 
5
 
TAPTAP 
AugustoMauch
2021-06-30
No
0047038: JIRA 2013 - Undeterministic resolution of keymap if two keymaps use the same search key
If two keymaps use the same searchkey, and the organization where those keymaps are defined is part of the natural tree of a store organization, then the store will display any of those keymaps, and not necessarily the one selected in the Organization -> Schema table
In the backoffice:
- Log in
- Create two keymaps with the same searchkey. One in the store organization, another one in *.
- Reference one of the two keymaps in Organization -> Schemas

In WebPOS:
- Log in
- Select the new schema. There is a 50% change that the keymap displayed is the one selected in Organization -> Schemas, and a 50% change that the keymap displayed is the other one with the same search key
Use the keymap Id to look for keymaps instead of using the keymap searchkey in loadKeymapConfigurations.

Remove the searchkey fields if they are not needed
No tags attached.
blocks defect 0047028 closed AugustoMauch JIRA 3013 Undeterministic resolution of keymap if two keymaps use the same search key 
Issue History
2021-06-09 11:52AugustoMauchTypedefect => backport
2021-06-09 11:52AugustoMauchTarget Version => TAP
2021-06-09 11:53dmiguelezRegression date => 2021-06-15
2021-06-14 12:36dmiguelezRegression date2021-06-15 => 2021-06-30
2021-06-21 13:31guilleaerSummaryUndeterministic resolution of keymap if two keymaps use the same search key => JIRA 2013 - Undeterministic resolution of keymap if two keymaps use the same search key
2021-06-29 03:13hernan-dpAssigned ToAugustoMauch => hernan-dp
2021-06-29 03:13hernan-dpNote Added: 0129880
2021-06-29 03:49hernan-dpStatusscheduled => resolved
2021-06-29 03:49hernan-dpFixed in Version => TAP
2021-06-29 03:49hernan-dpResolutionopen => fixed
2021-06-30 09:30AugustoMauchReview Assigned To => AugustoMauch
2021-06-30 09:31AugustoMauchStatusresolved => closed

Notes
(0129880)
hernan-dp   
2021-06-29 03:13   
https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/72 [^]