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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049061
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2022-04-14 10:252022-04-26 18:31
ReporterjmelinView Statuspublic 
Assigned Toadrianromero 
PriorityhighResolutionfixedFixed 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

0049061: JIRA 2895 - WebUSB - Association required multiple time

DescriptionWhen the POS is configured to use webusb, only one association should be required.
But currently the association can be required several times depending of the context

For example:
- one time when doing an order and printing a ticket
- one time after opening an existing order and printing a duplicate ticket
Steps To ReproduceRequirements :
POS with ESCPOS printer (HP A799) and its drawer

To reproduce:
In BO
Select the POS in the BO, set printer type to "USB Printer" and save

On the POS
Connect to POS or refresh it
Do an order, finalize it and print the ticket
=> OK, a popup is triggered to associate the printer
After selecting the printer, the ticket is printed and drawer is opened

Open an existing order and print a duplicate ticket
=> KO, the popup opened again instead of using the previous association

Close the till (must print a X/Z ticket)
=> KO, the popup opened again instead of using the previous association

Proposed SolutionSave the association at a global context, so it can be used independently from the gesture use the print a ticket
TagsNo tags attached.
Attached Files? file icon X7fw6Y4O2HhZTj3PXgQEYkTd9TAsk0JshQHQWMWdGNf5JQcKrw3Tw_5YypJ2ATz8Y_pBynnXBYB0PEilBWcWIh56Q4CW6oWWe7GNSpjM2NI6Z85KvG8a9L5XZAjV1I9cXP5nxxnN [^] (35,855 bytes) 2022-04-19 12:47 [Show Content]
? file icon BNd2ezroAJwJf1FwtjlZrcVJul8kn-K_t6JLrm5kfIe9sUXcbe5bvdWgEOl_dLOSUG75WtdPC1MxH_wwsrV-sH3_xs6CujvIjFDp0m3rBlRQcLZjhMASExN3L6j5iEp-5O8BOAWk [^] (22,903 bytes) 2022-04-19 12:47 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0049074 closedadrianromero JIRA 2902 - WebUSB - Printer association is required again after logoff or closing the till 
related to defect 0049121 closedRetail JIRA 2911 - WebUSB - association is lost when restarting Chrome/Computer 

-  Notes
(0136673)
hgbot (developer)
2022-04-21 17:20

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/774 [^]
(0136777)
hgbot (developer)
2022-04-26 18:31

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 7f535cebdc6e2eb47aeeef399e4c72856abcbbb9
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 26-04-2022 16:31:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7f535cebdc6e2eb47aeeef399e4c72856abcbbb9 [^]

Fixes ISSUE-49061: WebUSB - Association required multiple times

---
M web-test/external-device/ExternalDeviceController.test.js
M web/org.openbravo.retail.posterminal/app/external-device/ExternalDeviceController.js
M web/org.openbravo.retail.posterminal/app/webprinter/bluetooth.js
M web/org.openbravo.retail.posterminal/app/webprinter/usb.js
M web/org.openbravo.retail.posterminal/app/webprinter/webprinter.js
M web/org.openbravo.retail.posterminal/js/datasource.js
---
(0136778)
hgbot (developer)
2022-04-26 18:31

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/774 [^]

- Issue History
Date Modified Username Field Change
2022-04-14 10:25 jmelin New Issue
2022-04-14 10:25 jmelin Assigned To => Retail
2022-04-14 10:25 jmelin Triggers an Emergency Pack => No
2022-04-19 12:47 guilleaer File Added: X7fw6Y4O2HhZTj3PXgQEYkTd9TAsk0JshQHQWMWdGNf5JQcKrw3Tw_5YypJ2ATz8Y_pBynnXBYB0PEilBWcWIh56Q4CW6oWWe7GNSpjM2NI6Z85KvG8a9L5XZAjV1I9cXP5nxxnN
2022-04-19 12:47 guilleaer File Added: BNd2ezroAJwJf1FwtjlZrcVJul8kn-K_t6JLrm5kfIe9sUXcbe5bvdWgEOl_dLOSUG75WtdPC1MxH_wwsrV-sH3_xs6CujvIjFDp0m3rBlRQcLZjhMASExN3L6j5iEp-5O8BOAWk
2022-04-19 14:17 guilleaer Status new => scheduled
2022-04-19 14:17 guilleaer Assigned To Retail => adrianromero
2022-04-19 14:18 guilleaer Relationship added related to 0049074
2022-04-21 17:20 hgbot Note Added: 0136673
2022-04-26 10:45 guilleaer Relationship added related to 0049121
2022-04-26 18:31 hgbot Resolution open => fixed
2022-04-26 18:31 hgbot Status scheduled => closed
2022-04-26 18:31 hgbot Fixed in Version => RR22Q3
2022-04-26 18:31 hgbot Note Added: 0136777
2022-04-26 18:31 hgbot Note Added: 0136778


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker