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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049480
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantscriticalhave not tried2022-06-06 01:512022-06-20 17:22
ReportermmohammadView Statuspublic 
Assigned Toadrianromero 
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

0049480: FLUN-3051 - Offline - print is not working

DescriptionIn offline mode , it’s impossible to print a proof of payment , a ticket X or Z

Environment : fs int

Store : Lens

User : 6900


Steps To ReproducePrereq ; cut all the accesses to the networks and the cash register must be in offline mode, have a terminal pos with a printer configured in webusb

Steps to reproduce: On pos try to print a proof of payment, try to print a ticket X, try to close the cash register and print Z ticket

Expected result : An offline printing of the proof of payment, the X and Z ticket

Obtained result : The different printings end with the error "failed to fetch".
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0138410)
AugustoMauch (manager)
2022-06-16 12:40

Problem seems to be related to print templates, there are some requests being issued even while being offline:

(anonymous) (POS2.js:15140)
Promise.catch (async)
(anonymous) (POS2.js:15135)
n (POS2.js:15110)
get (POS2.js:15269)
(anonymous) (printTemplateInitializer.js:93)
cN (printTemplateInitializer.js:41)
await in cN (async)
initialize (POS2.js:32253)
generate (POS2.js:32215)
hb (GeneratePopPrintData.js:24)
a (ProofOfPaymentGlobalActions.js:177)
(anonymous) (ProofOfPaymentGlobalActions.js:279)
(anonymous) (ProofOfPaymentGlobalActions.js:277)
e (POS2.js:9368)
await in e (async)
<computed>.<computed> (POS2.js:9540)
action (StateUserAction.js:61)
launch (UserAction.js:176)
await in launch (async)
(anonymous) (getUserAction.js:35)
g (BaseMenu.jsx:206)
onClick (BaseButton.jsx:86)
(0138583)
hgbot (developer)
2022-06-20 17:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1020 [^]
(0138584)
hgbot (developer)
2022-06-20 17:22

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f0770be3248fef35e33b9569dd7a3fcf549051c9
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 20-06-2022 16:56:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f0770be3248fef35e33b9569dd7a3fcf549051c9 [^]

Fixed ISSUE-49480: Refactor getXmlTemplate to to do get request with params equal to null

---
M web-jspack/org.openbravo.pos2/src/services/printing/__test__/printTemplateInitializer.test.js
M web-jspack/org.openbravo.pos2/src/services/printing/printTemplateInitializer.js
---
(0138585)
hgbot (developer)
2022-06-20 17:22

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1020 [^]

- Issue History
Date Modified Username Field Change
2022-06-06 01:51 mmohammad New Issue
2022-06-06 01:51 mmohammad Assigned To => Retail
2022-06-06 01:51 mmohammad Triggers an Emergency Pack => No
2022-06-16 12:38 AugustoMauch Assigned To Retail => adrianromero
2022-06-16 12:40 AugustoMauch Note Added: 0138410
2022-06-20 17:01 hgbot Note Added: 0138583
2022-06-20 17:22 hgbot Resolution open => fixed
2022-06-20 17:22 hgbot Status new => closed
2022-06-20 17:22 hgbot Note Added: 0138584
2022-06-20 17:22 hgbot Note Added: 0138585


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker