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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047028
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2021-06-08 17:102022-04-27 12:37
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionfixedFixed in Version
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

0047028: JIRA 3013 Undeterministic resolution of keymap if two keymaps use the same search key

DescriptionIf 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
Steps To ReproduceIn 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
Proposed SolutionUse the keymap Id to look for keymaps instead of using the keymap searchkey in loadKeymapConfigurations.

Remove the searchkey fields if they are not needed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047038TAP closedhernan-dp JIRA 2013 - Undeterministic resolution of keymap if two keymaps use the same search key 

-  Notes
(0129249)
AugustoMauch (manager)
2021-06-09 11:54

Criticity set to minor because there is a clear workaround (avoid duplicated keymap searchkeys)
(0129881)
hgbot (developer)
2021-06-29 03:45

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/581 [^]
(0129994)
hgbot (developer)
2021-06-30 10:55

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 398f8200ffa30d0e16936dea3a83d521744e6c4e
Author: hernan-dp <h.de.prada1@gmail.com>
Date: 2021-06-30T09:32:15+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/398f8200ffa30d0e16936dea3a83d521744e6c4e [^]

fixed ISSUE-47028: Retrieve schema with unique id instead of searchkey.

---
M web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/__test__/getKeymapInformation.test.js
M web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/getKeymapInformation.js
M web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/loadKeymapConfigurations.js
---
(0129995)
hgbot (developer)
2021-06-30 10:55

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

- Issue History
Date Modified Username Field Change
2021-06-08 17:10 AugustoMauch New Issue
2021-06-08 17:10 AugustoMauch Assigned To => AugustoMauch
2021-06-08 17:10 AugustoMauch Triggers an Emergency Pack => No
2021-06-08 17:19 jmelin Priority normal => urgent
2021-06-08 17:19 jmelin Severity minor => critical
2021-06-09 11:52 AugustoMauch Status new => scheduled
2021-06-09 11:53 dmiguelez Resolution time => 1623708000
2021-06-09 11:54 AugustoMauch Severity critical => minor
2021-06-09 11:54 AugustoMauch Note Added: 0129249
2021-06-14 12:36 dmiguelez Resolution time 1623708000 => 1625004000
2021-06-21 13:31 guilleaer Summary Undeterministic resolution of keymap if two keymaps use the same search key => JIRA 3013 Undeterministic resolution of keymap if two keymaps use the same search key
2021-06-29 03:45 hgbot Note Added: 0129881
2021-06-30 10:55 hgbot Resolution open => fixed
2021-06-30 10:55 hgbot Status scheduled => closed
2021-06-30 10:55 hgbot Note Added: 0129994
2021-06-30 10:55 hgbot Note Added: 0129995
2022-04-22 17:56 guilleaer Status closed => new
2022-04-22 17:56 guilleaer Resolution fixed => open
2022-04-22 17:57 guilleaer Note Added: 0136690
2022-04-27 12:31 AugustoMauch Status new => scheduled
2022-04-27 12:31 AugustoMauch Status scheduled => resolved
2022-04-27 12:31 AugustoMauch Resolution open => fixed
2022-04-27 12:32 AugustoMauch Status resolved => closed
2022-04-27 12:37 AugustoMauch Issue cloned 0049151
2022-04-27 12:48 guilleaer Note Deleted: 0136690


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker