Openbravo Issue Tracking System - POS2
View Issue Details
0056395POS2POSpublic2024-09-06 08:482024-09-10 07:53
jorgewederago 
sreehari 
highmajoralways
closedfixed 
5
 
24Q3.124Q3.1 
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/e90bcd8437481fb6f341e920574df7f56364e741 [^]
No
0056395: 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 => 24Q3.1
2024-09-09 07:52hgbotNote Added: 0168906
2024-09-10 07:53hgbotResolutionopen => fixed
2024-09-10 07:53hgbotStatusscheduled => closed
2024-09-10 07:53hgbotNote Added: 0169000
2024-09-10 07:53hgbotFixed in Version => 24Q3.1
2024-09-10 07:53hgbotNote Added: 0169001

Notes
(0168906)
hgbot   
2024-09-09 07:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2910 [^]
(0169000)
hgbot   
2024-09-10 07:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2910 [^]
(0169001)
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: 269a22568c534046bde096ca302ed43e27f32698
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 10-09-2024 05:53:23
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/269a22568c534046bde096ca302ed43e27f32698 [^]

Fixes ISSUE-56395: 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
---