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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054886
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2024-02-29 12:002024-03-15 08:33
ReportercaristuView Statuspublic 
Assigned Tosreehari 
PriorityimmediateResolutionfixedFixed in Version24Q1.1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q1.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguillermogil
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

0054886: 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 ]
blocks defect 0054796 closedsreehari Error sending PDF templates by email 

-  Notes
(0162211)
hgbot (developer)
2024-03-15 08:33

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5f146874b655b071890eda11469db6157acd4072
Author: Guillermo Gil Lapuente <g.gil@orisha.com>
Date: 15-03-2024 07:33:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5f146874b655b071890eda11469db6157acd4072 [^]

Fixes ISSUE-54886: Error sending PDF templates by email: cannot send PDF reports by email

---
M web/org.openbravo.retail.posterminal/app/model/business-logic/utils/Util.js
---
(0162212)
hgbot (developer)
2024-03-15 08:33

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c76a2340553c3b045b08efd72dcf4c0bba600582
Author: Guillermo Gil Lapuente <g.gil@orisha.com>
Date: 15-03-2024 07:33:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c76a2340553c3b045b08efd72dcf4c0bba600582 [^]

Related to ISSUE-54886: avoid potential NPE in PDF SendEmail

---
M src/org/openbravo/pos2/mailing/SendEmailLoader.java
---

- Issue History
Date Modified Username Field Change
2024-03-07 18:07 guilleaer Type defect => backport
2024-03-07 18:07 guilleaer Target Version => 24Q1.1
2024-03-07 18:09 guilleaer Assigned To Retail => caristu
2024-03-14 17:09 guilleaer Assigned To caristu => sreehari
2024-03-15 08:33 hgbot Resolution open => fixed
2024-03-15 08:33 hgbot Status scheduled => resolved
2024-03-15 08:33 hgbot Fixed in Version => RR24Q1.1
2024-03-15 08:33 hgbot Note Added: 0162211
2024-03-15 08:33 hgbot Note Added: 0162212
2024-03-15 08:33 guillermogil Review Assigned To => guillermogil
2024-03-15 08:33 guillermogil Status resolved => closed
2024-03-15 08:33 guillermogil Fixed in Version RR24Q1.1 => 24Q1.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker