[Rt-commit] rt branch, 4.4/attachments-oracle, created. rt-4.4.0-228-gf17efc9
Shawn Moore
shawn at bestpractical.com
Thu May 19 12:36:04 EDT 2016
The branch, 4.4/attachments-oracle has been created
at f17efc927712ea402310e04c07869598c5bc4c87 (commit)
- Log -----------------------------------------------------------------
commit f17efc927712ea402310e04c07869598c5bc4c87
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu May 19 16:34:51 2016 +0000
Oracle needs a NULL check for attachment filename
This fixes t/web/attach-from-txn.t on Oracle
diff --git a/share/html/Ticket/Elements/ShowAttachments b/share/html/Ticket/Elements/ShowAttachments
index ac663a9..1c9025d 100644
--- a/share/html/Ticket/Elements/ShowAttachments
+++ b/share/html/Ticket/Elements/ShowAttachments
@@ -137,6 +137,13 @@ $Attachments->Limit(
OPERATOR => '!=',
VALUE => '',
);
+$Attachments->Limit(
+ FIELD => 'Filename',
+ OPERATOR => 'IS NOT',
+ VALUE => 'NULL',
+ QUOTEVALUE => 0,
+ ENTRYAGGREGATOR => 'AND',
+);
my $show_more = 0;
my %documents;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list