[Rt-commit] rt branch, 4.0/queue-already-current-value, created. rt-4.0.0rc4-26-g5d5bb2c
Alex Vandiver
alexmv at bestpractical.com
Sun Jan 30 22:05:45 EST 2011
The branch, 4.0/queue-already-current-value has been created
at 5d5bb2ce35c710371dadbc4efc4f1936f6c8b938 (commit)
- Log -----------------------------------------------------------------
commit 8fb921c7cba7658066e9f51a19a52d022a5a614b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Sun Jan 30 20:36:29 2011 -0500
POD nitpick
diff --git a/lib/RT/Record.pm b/lib/RT/Record.pm
index dda9d33..26a8f2f 100644
--- a/lib/RT/Record.pm
+++ b/lib/RT/Record.pm
@@ -933,6 +933,7 @@ sub _UpdateAttributes {
"User" # loc
"Group" # loc
"Queue" # loc
+
=cut
push @results, $self->loc( $prefix ) . " $label: ". $msg;
commit 5d5bb2ce35c710371dadbc4efc4f1936f6c8b938
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Sun Jan 30 20:38:16 2011 -0500
Avoid "that is currently the current value" -- the default lifecycle is stored as undef, not "default"
diff --git a/share/html/Admin/Queues/Modify.html b/share/html/Admin/Queues/Modify.html
index 995f69c..bc19320 100755
--- a/share/html/Admin/Queues/Modify.html
+++ b/share/html/Admin/Queues/Modify.html
@@ -197,6 +197,7 @@ if ( $QueueObj->Id ) {
ARGSRef => \%ARGS,
);
+ $ARGS{'Lifecycle'} = undef if $ARGS{'Lifecycle'} eq "default";
push @results, UpdateRecordObject(
AttributesRef => \@attribs,
Object => $QueueObj,
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list