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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047343
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorhave not tried2021-07-06 12:472021-07-06 13:06
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionTAP
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

0047343: Error when logging in if Keymap Category contains unused Product Category

DescriptionA keymap category can contain product categories, meaning that all the products that belong to those product categories will be included in the keymap category.

If a product category is added to a keymap category and that product category is not loaded on WebPOS (i.e. because no product in the assortment belongs to it), an error will be thrown when logging in:

Cannot destructure property 'obpos2Color' of 'n[e.productCategoryId]' as it is undefined
Steps To ReproduceIn any environment with pos2 sampledata (i.e. https://livebuilds.openbravo.com/retail_pos2_pgsql/ [^])

In the backoffice:
- Open POS Keymap
- Select Main App Keymap
- Select v1 version
- Select Ski Keymap Category
- In the Product Categories subtab, add Meters (a product category that will not be available on WebPOS)

In WebPOS:
- Log in. An error will be thrown:

Cannot destructure property 'obpos2Color' of 'n[e.productCategoryId]' as it is undefined
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0047342 closedAugustoMauch Error when logging in if Keymap Category contains unused Product Category 

-  Notes
(0130178)
AugustoMauch (developer)
2021-07-06 13:06

Merge request created: https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/84 [^]

- Issue History
Date Modified Username Field Change
2021-07-06 12:53 AugustoMauch Type defect => backport
2021-07-06 12:53 AugustoMauch Target Version => TAP
2021-07-06 13:06 AugustoMauch Note Added: 0130178


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker