[Bps-public-commit] SD branch, config-gitlike, updated. eaf67947af885b073cc2c0ba01c1284ecd547ddc

spang at bestpractical.com spang at bestpractical.com
Mon Jun 22 16:46:46 EDT 2009


The branch, config-gitlike has been updated
       via  eaf67947af885b073cc2c0ba01c1284ecd547ddc (commit)
      from  6929bf3b893c05b960ed9adac0b22b3a4ac1e15c (commit)

Summary of changes:
 lib/App/SD/CLI/Command/Ticket/Create.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit eaf67947af885b073cc2c0ba01c1284ecd547ddc
Author: Christine Spang <spang at bestpractical.com>
Date:   Mon Jun 22 23:46:36 2009 +0300

    Pull this SD-specific error message out of Prophet and put it here instead.

diff --git a/lib/App/SD/CLI/Command/Ticket/Create.pm b/lib/App/SD/CLI/Command/Ticket/Create.pm
index fe71d56..5a0972f 100644
--- a/lib/App/SD/CLI/Command/Ticket/Create.pm
+++ b/lib/App/SD/CLI/Command/Ticket/Create.pm
@@ -47,7 +47,8 @@ sub process_template {
         eval { super(); } or chomp ($error = $@ || "Something went wrong!");
 
     return $self->handle_template_errors(
-        error        => $error,
+        error        => $error . "\n\nYou can bypass validation for a "
+                        ."property by appending a ! to it.",
         template_ref => $args{template},
         bad_template => $updated,
         rtype        => $record->type,

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



More information about the Bps-public-commit mailing list