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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041728
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-08-30 10:592019-09-30 12:18
ReporterxabiermerinoView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revision88395ec379c8
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041728: It is not possible reprint a PDF from webPOS

DescriptionIt is necessary to have a PDF format for, for example, invoices.
Steps To Reproduce1.- Log into webPOS
2.- Create a ticket with Invoice check, realize that the PDF invoice is printed
3.- Pay it
4.- Search it using Open Receipts
5.- Click Print this ticket
6.- Select the invoice related with the ticket and print
7.- JS Error:

Uncaught TypeError: Cannot read property 'receiptLines' of undefined
    at printInvoice (6435b23b9fcf3c32157d1e5fddfab65e.js:2674)
    at Object.callback (6435b23b9fcf3c32157d1e5fddfab65e.js:2675)
    at 6435b23b9fcf3c32157d1e5fddfab65e.js:2757
    at G.d.callbackExecutor (6435b23b9fcf3c32157d1e5fddfab65e.js:764)
    at 6435b23b9fcf3c32157d1e5fddfab65e.js:4422
    at G.d.callbackExecutor (6435b23b9fcf3c32157d1e5fddfab65e.js:764)
    at 6435b23b9fcf3c32157d1e5fddfab65e.js:4075
    at G.d.callbackExecutor (6435b23b9fcf3c32157d1e5fddfab65e.js:764)
    at G.d.executeHooks (6435b23b9fcf3c32157d1e5fddfab65e.js:764)
    at 6435b23b9fcf3c32157d1e5fddfab65e.js:2757
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0114446)
hgbot (developer)
2019-09-09 03:36

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 15c2e97b27863a384eb70ac80dab2931554c45ff
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Sep 03 15:55:49 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/15c2e97b27863a384eb70ac80dab2931554c45ff [^]

Fixed issue 41728: It is not possible reprint a PDF from webPOS

- Checked if data object is undefined or not

---
M web/org.openbravo.retail.posterminal/js/components/modalinvoices.js
---
(0114544)
marvintm (manager)
2019-09-12 15:46

Problem can still be reproduced after the fix
(0114587)
hgbot (developer)
2019-09-16 17:45

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0cf2d4fed6b5d586c0d69a85c135b49bd5c05c96
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Sun Sep 15 22:29:05 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cf2d4fed6b5d586c0d69a85c135b49bd5c05c96 [^]

Fixed issue 41728: It is not possible reprint a PDF from webPOS

- Checked data object length

---
M web/org.openbravo.retail.posterminal/js/components/modalinvoices.js
---
(0114711)
hgbot (developer)
2019-09-23 05:28

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e0a0b3c0ede6c63d8fe073b578efef22a6402923
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Sep 17 06:19:16 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e0a0b3c0ede6c63d8fe073b578efef22a6402923 [^]

Fixed issue 41728: It is not possible reprint a PDF from webPOS

- Modified the recursive function parameter so as not to change its value when
you leave the call

---
M web/org.openbravo.retail.posterminal/js/components/modalinvoices.js
---
(0114783)
jorge-garcia (reporter)
2019-09-25 17:04

Problem is still reproducible in client's environment after fix is applied
(0114854)
hgbot (developer)
2019-09-30 09:06

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 88395ec379c80b72056f6b967646322cb69e5d2a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Sep 27 13:44:06 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/88395ec379c80b72056f6b967646322cb69e5d2a [^]

Fixed issue 41728: It is not possible reprint a PDF from webPOS

Three changes included:
  * If data current index is greater or equal to data length, do nothing
  * When trying to print the ticket, if error has happended, try
    to print again the same ticket.
  * Return an object in print callback to indicate if it has failed.

---
M web/org.openbravo.retail.posterminal/js/components/modalinvoices.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---

- Issue History
Date Modified Username Field Change
2019-08-30 10:59 xabiermerino New Issue
2019-08-30 10:59 xabiermerino Assigned To => Retail
2019-08-30 10:59 xabiermerino Resolution time => 1568498400
2019-08-30 10:59 xabiermerino Triggers an Emergency Pack => No
2019-09-02 13:36 rqueralta Assigned To Retail => rqueralta
2019-09-02 13:36 rqueralta Status new => scheduled
2019-09-09 03:36 hgbot Checkin
2019-09-09 03:36 hgbot Note Added: 0114446
2019-09-09 03:36 hgbot Status scheduled => resolved
2019-09-09 03:36 hgbot Resolution open => fixed
2019-09-09 03:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/15c2e97b27863a384eb70ac80dab2931554c45ff [^]
2019-09-12 15:46 marvintm Note Added: 0114544
2019-09-12 15:46 marvintm Status resolved => new
2019-09-12 15:46 marvintm Resolution fixed => open
2019-09-16 17:45 hgbot Checkin
2019-09-16 17:45 hgbot Note Added: 0114587
2019-09-16 17:45 hgbot Status new => resolved
2019-09-16 17:45 hgbot Resolution open => fixed
2019-09-16 17:45 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/15c2e97b27863a384eb70ac80dab2931554c45ff [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cf2d4fed6b5d586c0d69a85c135b49bd5c05c96 [^]
2019-09-23 05:28 hgbot Checkin
2019-09-23 05:28 hgbot Note Added: 0114711
2019-09-23 05:28 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0cf2d4fed6b5d586c0d69a85c135b49bd5c05c96 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e0a0b3c0ede6c63d8fe073b578efef22a6402923 [^]
2019-09-25 08:42 jorge-garcia Review Assigned To => jorge-garcia
2019-09-25 17:04 jorge-garcia Note Added: 0114783
2019-09-25 17:04 jorge-garcia Status resolved => new
2019-09-25 17:04 jorge-garcia Resolution fixed => open
2019-09-30 09:06 hgbot Checkin
2019-09-30 09:06 hgbot Note Added: 0114854
2019-09-30 09:06 hgbot Status new => resolved
2019-09-30 09:06 hgbot Resolution open => fixed
2019-09-30 09:06 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e0a0b3c0ede6c63d8fe073b578efef22a6402923 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/88395ec379c80b72056f6b967646322cb69e5d2a [^]
2019-09-30 10:18 marvintm Assigned To rqueralta => jorge-garcia
2019-09-30 10:44 jorge-garcia Review Assigned To jorge-garcia => marvintm
2019-09-30 12:18 marvintm Status resolved => closed
2019-09-30 12:18 marvintm Fixed in Version => RR19Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker