[Rt-commit] rt branch, master, updated. rt-4.0.0rc7-247-g7f3d9c1

Thomas Sibley trs at bestpractical.com
Mon Apr 25 11:43:51 EDT 2011


The branch, master has been updated
       via  7f3d9c1fc3b619b8754c16962198cf75ddcf3196 (commit)
      from  3c61239a784c7c506b27a0fadbafa4a16324e51d (commit)

Summary of changes:
 share/html/Ticket/Create.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 7f3d9c1fc3b619b8754c16962198cf75ddcf3196
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Apr 25 11:31:37 2011 -0400

    Actually tell the user what queue we couldn't load
    
    This also gets the bad queue id/name into the logs in case there's a bad
    link somewhere.

diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index fb70c2b..025167b 100755
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -358,7 +358,7 @@ my @results;
 my $title = loc("Create a new ticket");
 
 my $QueueObj = RT::Queue->new($session{'CurrentUser'});
-$QueueObj->Load($Queue) || Abort(loc("Queue could not be loaded."));
+$QueueObj->Load($Queue) || Abort(loc("Queue [_1] could not be loaded.", $Queue));
 
 $m->callback( QueueObj => $QueueObj, title => \$title, results => \@results, ARGSRef => \%ARGS );
 

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


More information about the Rt-commit mailing list