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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050222
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorunable to reproduce2022-09-12 12:012022-09-20 10:38
Reporterasier_perezView Statuspublic 
Assigned Toruben_jimenez 
PrioritynormalResolutionfixedFixed in Version22Q4
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

0050222: Recent change in Key Map Editor causes an error if there are no existing categories

DescriptionWhen clicking the button to create a new category in Key Map Editor, if there is not any existing category, an error occurs. Since currently there are existing categories in Key Map Editor, the error cannot be reproduced manually, but it can be reproduced through Cypress end-to-end tests for POS2. The error message that shows in the tests is attached in this issue.

The cause of the error is related to this commit: https://gitlab.com/openbravo/devel/pmods/org.openbravo.pos2/-/commit/681c8566293983f747dfe49476916467977c97a9 [^]
Steps To ReproduceIt will require some time to execute the Cypress tests to get the error.

1. Go to Jenkins: https://builds.openbravo.com/job/mod-retail-pos2-modules-cypress/ [^]
2. Click on 'Rebuild Last'
3. Type this in the CONFIG_FILE_NAME field: retail/pos2-modules.json
4. Click on 'Rebuild' and wait until the job finishes (usually it takes between 30 to 60 minutes)
5. Click on the job once it finishes
6. Click on 'Build Artifacts'
7. Click on download all files in zip
8. Unzip the file and search the video inside it

Alternatively,if you have a Cypress context in your localhost, you could better open Cypress and run keyMapEditor.spec.js test.
TagsNo tags attached.
Attached Filespng file icon error.png [^] (394,378 bytes) 2022-09-12 12:01

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0050130 closedruben_jimenez RM-1098: Keymap editor - Default category 

-  Notes
(0141023)
hgbot (developer)
2022-09-12 13:23

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1197 [^]
(0141025)
ruben_jimenez (developer)
2022-09-12 13:40

Testing google doc: https://docs.google.com/spreadsheets/d/1i3OEIAHd03LJJ1518GQE4gUcZUAPuYFFcO7DY91_4zM/edit?usp=sharing [^]
(0141253)
hgbot (developer)
2022-09-20 10:38

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1197 [^]
(0141254)
hgbot (developer)
2022-09-20 10:38

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: bb5c623a77288d195a40d21641ab6fd9ba36de09
Author: Ruben Jimenez <ruben.jimenez@openbravo.com>
Date: 20-09-2022 08:38:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/bb5c623a77288d195a40d21641ab6fd9ba36de09 [^]

FIXED ISSUE-50222: Added condition to check if there are categories in keymap section

---
M web-jspack/org.openbravo.pos2/src/components/KeyMapEditor/KeymapEditorNewCategoryDialog/KeymapEditorCategoryDialog.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryKeymap/ProductCategoryKeymap.jsx
---

- Issue History
Date Modified Username Field Change
2022-09-12 12:01 asier_perez New Issue
2022-09-12 12:01 asier_perez Assigned To => ruben_jimenez
2022-09-12 12:01 asier_perez File Added: error.png
2022-09-12 12:01 asier_perez Triggers an Emergency Pack => No
2022-09-12 12:08 asier_perez Steps to Reproduce Updated View Revisions
2022-09-12 13:21 ruben_jimenez Relationship added caused by 0050130
2022-09-12 13:23 hgbot Note Added: 0141023
2022-09-12 13:40 ruben_jimenez Note Added: 0141025
2022-09-20 10:38 hgbot Resolution open => fixed
2022-09-20 10:38 hgbot Status new => closed
2022-09-20 10:38 hgbot Note Added: 0141253
2022-09-20 10:38 hgbot Fixed in Version => 22Q4
2022-09-20 10:38 hgbot Note Added: 0141254


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker