[Rt-commit] rt branch, 4.0/lifecycle-default-value, updated. rt-4.0.4-226-g62116ee

Alex Vandiver alexmv at bestpractical.com
Fri Nov 2 19:58:38 EDT 2012


The branch, 4.0/lifecycle-default-value has been updated
       via  62116eee6ccf8f40f812229c58b42374b1aadf03 (commit)
       via  5585cbb69fa82aafba77e2bb5f66ad5ae8d194b1 (commit)
      from  67d3a052f668c0eb0df4f7165e4914e50c5f74f2 (commit)

Summary of changes:
 etc/upgrade/{4.0.7 => 4.0.9}/content | 0
 lib/RT/Queue.pm                      | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename etc/upgrade/{4.0.7 => 4.0.9}/content (100%)

- Log -----------------------------------------------------------------
commit 5585cbb69fa82aafba77e2bb5f66ad5ae8d194b1
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Fri Nov 2 19:31:19 2012 -0400

    Unify two different loc strings that only occur once each

diff --git a/lib/RT/Queue.pm b/lib/RT/Queue.pm
index 7e7f411..5ac96d2 100644
--- a/lib/RT/Queue.pm
+++ b/lib/RT/Queue.pm
@@ -265,7 +265,7 @@ sub SetLifecycle {
     my $self = shift;
     my $value = shift || 'default';
 
-    return ( 0, $self->loc( '[_1] is not valid lifecycle', $value ) )
+    return ( 0, $self->loc( '[_1] is not a valid lifecycle', $value ) )
       unless $self->ValidateLifecycle($value);
 
     return $self->_Set( Field => 'Lifecycle', Value => $value, @_ );
@@ -407,7 +407,7 @@ sub Create {
 
     $args{'Lifecycle'} ||= 'default';
 
-    return ( 0, $self->loc('Invalid lifecycle name') )
+    return ( 0, $self->loc('[_1] is not a valid lifecycle', $args{'Lifecycle'} ) )
       unless $self->ValidateLifecycle( $args{'Lifecycle'} );
 
     my %attrs = map {$_ => 1} $self->ReadableAttributes;

commit 62116eee6ccf8f40f812229c58b42374b1aadf03
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Fri Nov 2 19:33:06 2012 -0400

    Update upgrade dir for to reflect next version

diff --git a/etc/upgrade/4.0.7/content b/etc/upgrade/4.0.9/content
similarity index 100%
rename from etc/upgrade/4.0.7/content
rename to etc/upgrade/4.0.9/content

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


More information about the Rt-commit mailing list