Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036849Retail ModulesWeb POSpublic2017-09-13 17:242017-10-24 08:56
montesm 
gorka_gil 
normalmajoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0036849: [SER QA 3282] Central Server OFF. When paying a ticket with cash, pop up appears 'to close the drawer' permanently.
Paying a cash ticket checks the status of the drawer and remains the check in infinite loop.

already verified cause:
  not loaded in Application Cache: checkdrawerstatus.xml
1. Log into the web pos with the CS Off
2. Add a product.
3. Close and pay the ticket with 'cash'
4. --pop up to confirm drawer closure --
Load into Appcache (chrome://appcache-internals/# [^]) : org.openbravo.retail.posterminal/res/checkdrawerstatus.xml
No tags attached.
Issue History
2017-09-13 17:24montesmNew Issue
2017-09-13 17:24montesmAssigned To => Retail
2017-09-13 17:24montesmTriggers an Emergency Pack => No
2017-10-02 14:35montesmResolution time => 1509404400
2017-10-06 11:27gorka_gilAssigned ToRetail => gorka_gil
2017-10-06 11:27gorka_gilStatusnew => scheduled
2017-10-10 16:40gorka_gilNote Added: 0099856
2017-10-10 17:07hgbotCheckin
2017-10-10 17:07hgbotNote Added: 0099857
2017-10-10 17:07hgbotStatusscheduled => resolved
2017-10-10 17:07hgbotResolutionopen => fixed
2017-10-10 17:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0df7f83bc6464832c0fb138087cfa64f884745ac [^]
2017-10-24 08:56marvintmReview Assigned To => marvintm
2017-10-24 08:56marvintmStatusresolved => closed
2017-10-24 08:56marvintmFixed in Version => RR18Q1

Notes
(0099856)
gorka_gil   
2017-10-10 16:40   
Can not reproduce the issue, tested:
- Retail of Oct 6
- Put all the modules in NO in development (so offline works)
- Enable preference "Web POS Close Drawer Before Continue"
- Start the hardware manager, get the listen ip and port
- Configure the hardware manager in the backend in the pos terminal we are using the url http://ip:port/printer [^]
- Clean cache of the web browser
- With apache and tomcat started make login in the pos
- Check in the hardware manager printer tab that is connected correctly and showing welcome message
- After login stop apache -> this makes go offline the pos
- Do a new receipt and pay it
- It shows the pop up "close the drawer"
- In the hardware manager printer tab, click on close drawer button
- And the pop up disappears -> so everything works as expected

In any case the checkdrawerstatus.xml should be in the application cache so fixing it.
(0099857)
hgbot   
2017-10-10 17:07   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0df7f83bc6464832c0fb138087cfa64f884745ac
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Oct 06 11:16:51 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0df7f83bc6464832c0fb138087cfa64f884745ac [^]

Fixed issue 36849: [SER QA 3282] Central Server OFF. When paying a ticket with cash, pop up appears 'to close the drawer' permanently.

Added checkdrawerstatus.xml to Application Cache

---
M src/org/openbravo/retail/posterminal/ApplicationCacheComponent.java
---