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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048434
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2022-01-19 16:282022-02-15 14:40
ReporterjmelinView Statuspublic 
Assigned Tofermin_gascon 
PrioritynormalResolutionfixedFixed 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

0048434: JIRA 2615 - WebUSB - can't print a receipt and POS blocked if an image can't be downloaded

DescriptionWhen printing a receipt using webusb
If an image to print can't be downloaded from the central server (server unavailable or file not found)
Then the receipt is not printed and the POS is blocked (can't close the current order)

In any case this should block the POS.
If an image is not available, then the receipt should be printed without it anyway.

Another point of improvement;

download the image that can be used on ticket when opening the POS and store them in indexdb or local storage (see also https://openbravo.atlassian.net/browse/FLUN-736 [^])
the image are then always available to be printed on the POS
Steps To ReproduceUse a template of receipt that contains image to download from the central server.
(make sure the image is not in cache)

Connect to POS2
Disconnect network
Create an order and chose to print the receipt

=> KO, an error is triggered because the image is not available, the receipt is not printed and the order is blocked on the payment page
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0048455TAP closedfermin_gascon JIRA 2615 - WebUSB - can't print a receipt and POS blocked if an image can't be downloaded 

-  Notes
(0134927)
hgbot (developer)
2022-02-11 13:02

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/713 [^]
(0134992)
hgbot (developer)
2022-02-15 14:40

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: aae6b5695386d0d4889e42a9f78b1204e4516caf
Author: Fermín Gascón <fermin.gascon@openbravo.com>
Date: 15-02-2022 13:40:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/aae6b5695386d0d4889e42a9f78b1204e4516caf [^]

Fixes ISSUE-0048434: WebUSB Can't print a receipt and POS blocked if an image can't be downloaded
* Added timeout on image onload

---
M web/org.openbravo.retail.posterminal/app/webprinter/webprinter.js
---
(0134993)
hgbot (developer)
2022-02-15 14:40

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

- Issue History
Date Modified Username Field Change
2022-01-19 16:28 jmelin New Issue
2022-01-19 16:28 jmelin Assigned To => Retail
2022-01-19 16:28 jmelin Triggers an Emergency Pack => No
2022-01-20 17:51 adrianromero Assigned To Retail => adrianromero
2022-01-20 17:52 adrianromero Assigned To adrianromero => fermin_gascon
2022-01-20 17:52 adrianromero Status new => scheduled
2022-02-11 13:02 hgbot Note Added: 0134927
2022-02-15 14:40 hgbot Resolution open => fixed
2022-02-15 14:40 hgbot Status scheduled => closed
2022-02-15 14:40 hgbot Fixed in Version => RR22Q2
2022-02-15 14:40 hgbot Note Added: 0134992
2022-02-15 14:40 hgbot Note Added: 0134993


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker