Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.13.11
-
None
-
None
Description
Current Situation
- While suppressing the attachments for a particular file type, as per the below-mentioned script, the mail is received with the log file.
<?xml version='1.0' encoding='iso-8859-1' ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> ... <xsl:template match="/scheduler_event"> ... <xsl:copy-of select="mail/body/* [ not(text) and not (//file) ]" /> <xsl:for-each select="mail/body/file" > <xsl:if test="not(contains(@path, '.log'))"> <xsl:element name="{name()}"> <xsl:copy-of select="@*" /> <xsl:attribute name="mail_filename"> <xsl:value-of select="$filename" /> </xsl:attribute> </xsl:element> </xsl:if> </xsl:for-each> ... </xsl:template> </xsl:stylesheet>
- Please find article [ https://kb.sos-berlin.com/display/PKB/How+to+suppress+attachments+with+a+specific+file+type
Desired Behavior
- When using the script mentioned in the suppress attachment article it should not include log files in the mail.
Maintainer Note
- The above mentioned article is updated
<?xml version='1.0' encoding='iso-8859-1' ?> <xsl:stylesheet xmlns:xsl ="http://www.w3.org/1999/XSL/Transform" version="1.0"> ... <xsl:template match="/scheduler_event"> ... <xsl:copy-of select="mail/body/file[ not(contains(@path, '.log')) ]" /> ... </xsl:template> </xsl:stylesheet>
Attachments
Issue Links
- Wiki Page
-
Wiki Page Loading...