[freeside-commits] branch FREESIDE_3_BRANCH updated. f70f7b76620d071676d83eb9bad90338f1556ab5

Ivan ivan at 420.am
Sun Aug 11 16:31:54 PDT 2013


The branch, FREESIDE_3_BRANCH has been updated
       via  f70f7b76620d071676d83eb9bad90338f1556ab5 (commit)
      from  cb5892928faf984d1fff29399d04ce5cb49076dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f70f7b76620d071676d83eb9bad90338f1556ab5
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Aug 11 16:31:53 2013 -0700

    fix endless redirect loops and bogus results messages on ticket view, RT#23309

diff --git a/rt/lib/RT/Interface/Web_Vendor.pm b/rt/lib/RT/Interface/Web_Vendor.pm
index a5f5b88..7a4804b 100644
--- a/rt/lib/RT/Interface/Web_Vendor.pm
+++ b/rt/lib/RT/Interface/Web_Vendor.pm
@@ -257,16 +257,17 @@ sub ProcessTicketBasics {
         WillResolve
     );
 
-    # the UI for editing WillResolve through Ticket Basics should allow 
-    # setting it to null
-    my $to_date = delete($ARGSRef->{'WillResolve_Date'});
-    my $DateObj = RT::Date->new($session{'CurrentUser'});
-    if ( $to_date ) {
-        $DateObj->Set(Format => 'unknown', Value => $to_date);
-    } else {
-        $DateObj->Set(Value => 0);
-    }
-    $ARGSRef->{'WillResolve'} = $DateObj->ISO;
+# causes endless redirect loops and "WillResolve changed from Not set to Not set" on ticket view?
+#    # the UI for editing WillResolve through Ticket Basics should allow 
+#    # setting it to null
+#    my $to_date = delete($ARGSRef->{'WillResolve_Date'});
+#    my $DateObj = RT::Date->new($session{'CurrentUser'});
+#    if ( $to_date ) {
+#        $DateObj->Set(Format => 'unknown', Value => $to_date);
+#    } else {
+#        $DateObj->Set(Value => 0);
+#    }
+#    $ARGSRef->{'WillResolve'} = $DateObj->ISO;
 
     if ( $ARGSRef->{'Queue'} and ( $ARGSRef->{'Queue'} !~ /^(\d+)$/ ) ) {
         my $tempqueue = RT::Queue->new($RT::SystemUser);

-----------------------------------------------------------------------

Summary of changes:
 rt/lib/RT/Interface/Web_Vendor.pm |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)




More information about the freeside-commits mailing list