[Bps-public-commit] r15092 - in sd/trunk: .

spang at bestpractical.com spang at bestpractical.com
Tue Aug 12 09:34:49 EDT 2008


Author: spang
Date: Tue Aug 12 09:34:48 2008
New Revision: 15092

Modified:
   sd/trunk/   (props changed)
   sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm

Log:
 r48101 at loki:  spang | 2008-08-12 13:51:10 +0100
 pass uuid correctly to ticket comment creation command


Modified: sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command/Ticket/Create.pm	Tue Aug 12 09:34:48 2008
@@ -56,11 +56,10 @@
         $record = $self->record();
 
         if ($comment) {
-            my $args = { uuid => $record->uuid(),
-                         content => $comment,
-                       };
+            my $args = { content => $comment };
             $self->cli->change_attributes( args => $args );
             my $command = App::SD::CLI::Command::Ticket::Comment::Create->new(
+                uuid => $record->uuid,
                 cli => $self->cli,
                 type => 'comment',
             );



More information about the Bps-public-commit mailing list