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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047668
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POS Hardware Managerminorhave not tried2021-09-10 07:432021-09-10 09:28
ReporteralostaleView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in VersionRR21Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047668: stalled jrxml in HWM

DescriptionWhen a new version of a Jasper template is deployed, HWM serves the old version until it is restarted.
Steps To Reproduce1. 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0131693)
hgbot (developer)
2021-09-10 07:55

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/41 [^]
(0131694)
hgbot (developer)
2021-09-10 09:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/41 [^]
(0131695)
hgbot (developer)
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 (developer)
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 (manager)
2021-09-10 09:28

Reviewed

- Issue History
Date Modified Username Field Change
2021-09-10 07:43 alostale New Issue
2021-09-10 07:43 alostale Assigned To => Retail
2021-09-10 07:43 alostale Triggers an Emergency Pack => No
2021-09-10 07:55 hgbot Note Added: 0131693
2021-09-10 09:20 hgbot Resolution open => fixed
2021-09-10 09:20 hgbot Status new => resolved
2021-09-10 09:20 hgbot Note Added: 0131694
2021-09-10 09:20 hgbot Fixed in Version => RR21Q4
2021-09-10 09:20 hgbot Note Added: 0131695
2021-09-10 09:26 hgbot Note Added: 0131696
2021-09-10 09:28 adrianromero Review Assigned To => adrianromero
2021-09-10 09:28 adrianromero Note Added: 0131697
2021-09-10 09:28 adrianromero Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker