Openbravo Issue Tracking System - POS2
View Issue Details
0056396POS2POSpublic2024-09-06 08:482024-09-10 07:53
jorgewederago 
sreehari 
highmajoralways
closedfixed 
5
 
24Q2.324Q2.3 
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/e90bcd8437481fb6f341e920574df7f56364e741 [^]
No
0056396: It is not possible to send OTF coupon by email
Since the fix related to https://issues.openbravo.com/view.php?id=55626 [^] was merged, anytime a Coupon is going to be sent an error is generated as import entry which ends in the Coupon not being sent
1.- Have a configuration for send email
2.- Create a Coupon OTF Rule
3.- In POS do a transaction that will trigger the OTF Rule
4.- In the ticket delivery choose send by email
5.- See that the email is not received and there is an Import Entry related to the email in error
During the fix for that issue now is mandatory to have the "ticket" object, however this is not true when other things that are not ticket are being sent by email.

It is needed to add code to avoid this kind of scenarios

Take into account that the fix has been backported to other versions so it is needed to do the same
No tags attached.
blocks defect 0056393 closed sreehari It is not possible to send OTF coupon by email 
Issue History
2024-09-06 10:40sreehariTypedefect => backport
2024-09-06 10:40sreehariTarget Version => 24Q2.3
2024-09-09 07:51hgbotNote Added: 0168905
2024-09-10 07:53hgbotResolutionopen => fixed
2024-09-10 07:53hgbotNote Added: 0168998
2024-09-10 07:53hgbotStatusscheduled => closed
2024-09-10 07:53hgbotFixed in Version => 24Q2.3
2024-09-10 07:53hgbotNote Added: 0168999

Notes
(0168905)
hgbot   
2024-09-09 07:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2909 [^]
(0168998)
hgbot   
2024-09-10 07:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2909 [^]
(0168999)
hgbot   
2024-09-10 07:53   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 047d4d36dc39dbdc55128710c49c4f5dfd628bab
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 10-09-2024 05:53:22
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/047d4d36dc39dbdc55128710c49c4f5dfd628bab [^]

Fixes ISSUE-56396: Error in Send email in case other files than tickets were sent
Added case to check ticket available in param, now when param doesn't have ticket file is directly added

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