[Rt-commit] r14205 - in rt/branches/3.999-DANGEROUS: . lib/RT/Interface

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jul 17 04:53:22 EDT 2008


Author: sunnavy
Date: Thu Jul 17 04:53:22 2008
New Revision: 14205

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm
   rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyAll.html

Log:
 r14612 at sunnavys-mb:  sunnavy | 2008-07-17 16:50:23 +0800
 name fixes


Modified: rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm	Thu Jul 17 04:53:22 2008
@@ -942,7 +942,7 @@
 
     # Status isn't a field that can be set to a null value.
     # RT core complains if you try
-    delete $args_ref->{'Status'} unless $args_ref->{'Status'};
+    delete $args_ref->{'status'} unless $args_ref->{'status'};
 
     my @results = update_record_object(
         attributes_ref => \@attribs,

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyAll.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyAll.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/ModifyAll.html	Thu Jul 17 04:53:22 2008
@@ -133,10 +133,11 @@
 
 <%INIT>
 
-
+use Data::Dumper;
+Jifty->log->error( Dumper \%ARGS );
 
 my $Ticket = load_ticket($id);
-my $CustomFields = $Ticket->queue_obj->ticketCustomFields();
+my $CustomFields = $Ticket->queue_obj->ticket_custom_fields();
 
 # call this to show up hints of valid cf values.
 $m->comp(
@@ -161,11 +162,11 @@
 
 unless ($OnlySearchForPeople or $OnlySearchForGroup ) {
     # There might be two owners. 
-    if ( ref ($ARGS{'Owner'} )) {
-        my @owners =@{$ARGS{'Owner'}};
-        delete $ARGS{'Owner'};
+    if ( ref ($ARGS{'owner'} )) {
+        my @owners =@{$ARGS{'owner'}};
+        delete $ARGS{'owner'};
         foreach my $owner(@owners){
-            $ARGS{'Owner'} = $owner unless ($Ticket->owner_obj->id == $owner);
+            $ARGS{'owner'} = $owner unless ($Ticket->owner_obj->id == $owner);
         }
 
     }
@@ -192,7 +193,7 @@
     push @results, process_update_message( ticket_obj => $Ticket, args_ref=>\%ARGS );
     push @results, process_ticket_basics( ticket_obj => $Ticket, args_ref => \%ARGS );
 }
-    @lresults   = ProcessTicketLinks( ticket_obj => $Ticket, args_ref => \%ARGS);
+    @lresults   = process_ticket_links( ticket_obj => $Ticket, args_ref => \%ARGS);
 push @results, @wresults;
 push @results, @dresults;
 push @results, @lresults;


More information about the Rt-commit mailing list