[
https://issues.apache.org/jira/browse/OFBIZ-6698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970699#comment-14970699 ]
Gareth Carter commented on OFBIZ-6698:
--------------------------------------
Would it be worth changing to use EntityQuery rather than getRelated? EntityQuery provides EntityCondition date filter rather than EntityUtil.filterByDate
> sendCommEventAsEmail does not filter CommEventContentAssoc
> ----------------------------------------------------------
>
> Key: OFBIZ-6698
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6698> Project: OFBiz
> Issue Type: Bug
> Components: party
> Affects Versions: Trunk
> Reporter: Gareth Carter
> Priority: Trivial
>
> I only found this whilst testing another piece of code. The emails that were being sent contained attachments that were expired.
> It's unlikely that attachments for new CommunicationEvents will be expired in the time it took to create the records and send the email but it might be worth adding.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)