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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054796
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-02-29 12:002024-03-15 08:32
ReportercaristuView Statuspublic 
Assigned Tosreehari 
PriorityimmediateResolutionfixedFixed 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 date2023-12-26
Regression introduced in release24Q1
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c9cba9d724e026b24b669e75d36fa581878d0c8b [^]
Triggers an Emergency PackNo
Summary

0054796: Error sending PDF templates by email

DescriptionA NPE exception is causing that PDF templates cannot be sent by email
Steps To ReproduceConfiguration:
1- Go to the organization window. Select the organization of your terminal and set a PDF template in the "Print Ticket Template" field
2- Go the touchpoint type window. Select the type of your terminal and enable the Send delivery option
Steps:
1- Login in the POS using the configured terminal
2- Create a ticket, pay it and send the send email option
3- Note that the email is not sent. The process fails at this point[1] due to a NPE

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/c9cba9d724e026b24b669e75d36fa581878d0c8b/src/org/openbravo/pos2/mailing/SendEmailLoader.java#L128 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005488624Q1.1 closedsreehari Error sending PDF templates by email 
caused by defect 0054150 closedprakashmurugesan88 [RM-10273] - Gift Cards / Credit notes are not sent by email 

-  Notes
(0161426)
hgbot (developer)
2024-02-29 12:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1494 [^]
(0161427)
hgbot (developer)
2024-02-29 12:08

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2462 [^]
(0162207)
hgbot (developer)
2024-03-15 08:32

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 5f9662cb696b0539dceb19a969d8be2bb26c2323
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 15-03-2024 07:32:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5f9662cb696b0539dceb19a969d8be2bb26c2323 [^]

Related to BUG-54796: avoid potential NPE in Send Email PDF

---
M src/org/openbravo/pos2/mailing/SendEmailLoader.java
---
(0162208)
hgbot (developer)
2024-03-15 08:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2462 [^]
(0162209)
hgbot (developer)
2024-03-15 08:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1494 [^]
(0162210)
hgbot (developer)
2024-03-15 08:32

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: a321d8bddb2a5f865392eae2932bc07911c0297d
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 15-03-2024 07:32:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a321d8bddb2a5f865392eae2932bc07911c0297d [^]

Fixes ISSUE-54796: cannot send PDF reports by email

---
M web/org.openbravo.retail.posterminal/app/model/business-logic/utils/Util.js
---

- Issue History
Date Modified Username Field Change
2024-02-29 12:00 caristu New Issue
2024-02-29 12:00 caristu Assigned To => Triage Platform Base
2024-02-29 12:00 caristu Regression date => 2023-12-26
2024-02-29 12:00 caristu Regression introduced in release => 24Q1
2024-02-29 12:00 caristu Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c9cba9d724e026b24b669e75d36fa581878d0c8b [^]
2024-02-29 12:00 caristu Triggers an Emergency Pack => No
2024-02-29 12:00 caristu Issue generated from 0054150
2024-02-29 12:00 caristu Relationship added caused by 0054150
2024-02-29 12:04 hgbot Note Added: 0161426
2024-02-29 12:08 hgbot Note Added: 0161427
2024-02-29 12:09 caristu Assigned To Triage Platform Base => Retail
2024-03-06 17:32 guilleaer Status new => acknowledged
2024-03-07 18:07 guilleaer Status acknowledged => scheduled
2024-03-07 18:09 guilleaer Assigned To Retail => caristu
2024-03-14 17:09 guilleaer Assigned To caristu => sreehari
2024-03-15 08:32 hgbot Note Added: 0162207
2024-03-15 08:32 hgbot Note Added: 0162208
2024-03-15 08:32 hgbot Note Added: 0162209
2024-03-15 08:32 hgbot Resolution open => fixed
2024-03-15 08:32 hgbot Status scheduled => closed
2024-03-15 08:32 hgbot Fixed in Version => RR24Q2
2024-03-15 08:32 hgbot Note Added: 0162210


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker