diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-08-11 16:31:53 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-08-11 16:31:53 -0700 |
commit | f70f7b76620d071676d83eb9bad90338f1556ab5 (patch) | |
tree | 9c562fbc422f4f96c0bdf2d5403a6a181e5f96ba /rt | |
parent | cb5892928faf984d1fff29399d04ce5cb49076dd (diff) |
fix endless redirect loops and bogus results messages on ticket view, RT#23309
Diffstat (limited to 'rt')
-rw-r--r-- | rt/lib/RT/Interface/Web_Vendor.pm | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/rt/lib/RT/Interface/Web_Vendor.pm b/rt/lib/RT/Interface/Web_Vendor.pm index a5f5b8827..7a4804bf9 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); |