[Rt-commit] rt branch, 4.0/create-tickets-bad-template-warning, updated. rt-4.0.5-61-g478beb8

Alex Vandiver alexmv at bestpractical.com
Fri Jun 8 14:53:27 EDT 2012


The branch, 4.0/create-tickets-bad-template-warning has been updated
       via  478beb80e1373a4f6e895484428e9b7238b09d3c (commit)
      from  8139abf0856707d5d70f8fa41b65cc33372a95cb (commit)

Summary of changes:
 lib/RT/Action/CreateTickets.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 478beb80e1373a4f6e895484428e9b7238b09d3c
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Fri Jun 8 14:53:15 2012 -0400

    Clarify wording on the error a bit

diff --git a/lib/RT/Action/CreateTickets.pm b/lib/RT/Action/CreateTickets.pm
index 7b2b541..a4ec755 100644
--- a/lib/RT/Action/CreateTickets.pm
+++ b/lib/RT/Action/CreateTickets.pm
@@ -558,7 +558,7 @@ sub Parse {
     } elsif ( $args{'Content'} =~ /(?:\t|,)/i ) {
         $self->_ParseXSVTemplate(%args);
     } else {
-        RT->Logger->error("Invalid Template Content (do you have an initial === or a csv/tsv template?) - unable to parse: $args{Content}");
+        RT->Logger->error("Invalid Template Content (Couldn't find ===, and is not a csv/tsv template) - unable to parse: $args{Content}");
     }
 }
 

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


More information about the Rt-commit mailing list