[Rt-commit] rt branch, 4.4/attachments-oracle, repushed

Shawn Moore shawn at bestpractical.com
Fri May 20 15:53:09 EDT 2016


The branch 4.4/attachments-oracle was deleted and repushed:
       was f17efc927712ea402310e04c07869598c5bc4c87
       now 8768f1e58510ebfa742aa2c8d31a7ca29bf25bab

1:  f17efc9 ! 1:  8768f1e Oracle needs a NULL check for attachment filename
    @@ -3,6 +3,24 @@
         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/AddAttachments b/share/html/Ticket/Elements/AddAttachments
    +--- a/share/html/Ticket/Elements/AddAttachments
    ++++ b/share/html/Ticket/Elements/AddAttachments
    +@@
    +         OPERATOR => '!=',
    +         VALUE    => '',
    +     );
    ++    $Existing->Limit(
    ++        FIELD           => 'Filename',
    ++        OPERATOR        => 'IS NOT',
    ++        VALUE           => 'NULL',
    ++        QUOTEVALUE      => 0,
    ++        ENTRYAGGREGATOR => 'AND',
    ++    );
    +     $HasExisting = 1 if $Existing->Count;
    + }
    + </%INIT>
     
     diff --git a/share/html/Ticket/Elements/ShowAttachments b/share/html/Ticket/Elements/ShowAttachments
     --- a/share/html/Ticket/Elements/ShowAttachments



More information about the rt-commit mailing list