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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044318
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-06-09 13:272020-06-25 15:44
ReporteraaroncaleroView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044318: [Camera Barcode Scanner] Console errors logging in a terminal with the Camera Barcode Scanner configured

DescriptionWhen the camera barcode scanner for posterminal is configured (available in the org.openbravo.retail.camerabarcodescanner.posterminal module), the following error is shown in the console upon logging in or refreshing the application:
[enyo] Duplicated DOM id 'terminal_containerWindow_pointOfSale_multiColumn_rightPanel_toolbarpane_scan_scanTabContent_mainPanel_scanFromCameraButton_icon'
{_componentNameMap: {…}, $: {…}, owner: {…}, name: "icon", classes: "obUiButton-components-icon", …} will overwrite to {_componentNameMap: {…}, $: {…}, owner: {…}, name: "icon", classes: "obUiButton-components-icon", …}
Steps To ReproduceIn a standard retail installation, add the modules org.openbravo.retail.camerabarcodescanner and org.openbravo.retail.camerabarcodescanner.posterminal.
(alternatively, use the livebuilds modules environment)
Go to the Channel - Touchpoint Type window, open a touchpoint type and check the 'Use device camera to scan barcodes' flag.
Log in in a terminal of the configured type.
Review the output of the browser console and realize that several enyo errors are shown.
Proposed SolutionThe initComponents function of the OB.UI.CBSPOS.CameraScanner.ScanFromCameraButton kind (located in scan-from-camera-button.js from the org.openbravo.retail.camerabarcodescanner.postermina module) calls this.inherited(arguments); twice.
Remove the second call to fix this issue
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0120997)
hgbot (developer)
2020-06-23 16:07

Repository: erp/pmods/org.openbravo.retail.camerabarcodescanner.posterminal
Changeset: 9921253757a24e7dc19353e2c6113935f598bfe0
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 23 19:37:24 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.camerabarcodescanner.posterminal/rev/9921253757a24e7dc19353e2c6113935f598bfe0 [^]

Related to issue-44318: Removed unwanted method in CameraScan Button

---
M web/org.openbravo.retail.camerabarcodescanner.posterminal/js/scan-from-camera-button.js
---

- Issue History
Date Modified Username Field Change
2020-06-09 13:27 aaroncalero New Issue
2020-06-09 13:27 aaroncalero Assigned To => Retail
2020-06-09 13:27 aaroncalero Resolution time => 1561845600
2020-06-09 13:27 aaroncalero Triggers an Emergency Pack => No
2020-06-15 13:55 marvintm Resolution time 1561845600 => 1593468000
2020-06-23 15:53 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-06-23 16:07 ranjith_qualiantech_com Status new => scheduled
2020-06-23 16:07 hgbot Checkin
2020-06-23 16:07 hgbot Note Added: 0120997
2020-06-24 06:43 ranjith_qualiantech_com Status scheduled => resolved
2020-06-24 06:43 ranjith_qualiantech_com Resolution open => fixed
2020-06-25 15:44 marvintm Review Assigned To => marvintm
2020-06-25 15:44 marvintm Status resolved => closed
2020-06-25 15:44 marvintm Fixed in Version => RR20Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker