Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047668Retail ModulesWeb POS Hardware Managerpublic2021-09-10 07:432021-09-10 09:28
alostale 
Retail 
normalminorhave not tried
closedfixed 
5
 
RR21Q4 
adrianromero
No
0047668: stalled jrxml in HWM
When a new version of a Jasper template is deployed, HWM serves the old version until it is restarted.
1. Install org.openbravo.retail.receiptreport module
2. In Organization window, set Full Invoice Template field to Invoice Report
3. Log in POS
4. Select a customer
5. Select Issue Invoice in the menu
6. Create a ticket and pay it
  -> OK: the invoice is printed using the template
7. Modify org.openbravo.retail.receiptreport/res/Ticket.jrxml
8. Compile and restart Tomcat, but do not restart HWM
9. Repeat steps 3-6
  -> ERROR: the changes in the jrxml are not reflected in the printed pdf
No tags attached.
Issue History
2021-09-10 07:43alostaleNew Issue
2021-09-10 07:43alostaleAssigned To => Retail
2021-09-10 07:43alostaleTriggers an Emergency Pack => No
2021-09-10 07:55hgbotNote Added: 0131693
2021-09-10 09:20hgbotResolutionopen => fixed
2021-09-10 09:20hgbotStatusnew => resolved
2021-09-10 09:20hgbotNote Added: 0131694
2021-09-10 09:20hgbotFixed in Version => RR21Q4
2021-09-10 09:20hgbotNote Added: 0131695
2021-09-10 09:26hgbotNote Added: 0131696
2021-09-10 09:28adrianromeroReview Assigned To => adrianromero
2021-09-10 09:28adrianromeroNote Added: 0131697
2021-09-10 09:28adrianromeroStatusresolved => closed

Notes
(0131693)
hgbot   
2021-09-10 07:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/41 [^]
(0131694)
hgbot   
2021-09-10 09:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/41 [^]
(0131695)
hgbot   
2021-09-10 09:20   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources [^]
Changeset: 8191bfd52008e5b1aa4862d807eb6b935a731f16
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-09-10T07:50:04+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/commit/8191bfd52008e5b1aa4862d807eb6b935a731f16 [^]

fixed BUG-47668: stalled jrxml in HWM

When a new version of a jrxml was deployed in POS, HWM continued serving
from its compiled cached an old version.

This cache of compiled reports was using as its key the name of the
jasper file, now it uses the hash of its contents, so a new version will
create a new entry in that cache.

---
M project/src/com/openbravo/pos/printer/printer/DevicePrinterPrinter.java
---
(0131696)
hgbot   
2021-09-10 09:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager [^]
Changeset: e9349ff995f0eb78e43bfb0fc017bea66edc95f3
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 2021-09-10T09:25:57+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/commit/e9349ff995f0eb78e43bfb0fc017bea66edc95f3 [^]

fixed BUG-47668: stalled jrxml in HWM
* Compilation of sources

---
M bin/poshw.jar
M bin/rev.id
---
(0131697)
adrianromero   
2021-09-10 09:28   
Reviewed