[Rt-commit] r5682 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Wed Aug 2 15:46:29 EDT 2006
Author: ruz
Date: Wed Aug 2 15:46:27 2006
New Revision: 5682
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/CustomFieldValue_Overlay.pm
Log:
r3575 at cubic-pc: cubic | 2006-08-02 01:26:38 +0400
* log error on SetCategory in Create method
of the CustomFieldValue class
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/CustomFieldValue_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/CustomFieldValue_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/CustomFieldValue_Overlay.pm Wed Aug 2 15:46:27 2006
@@ -28,7 +28,10 @@
);
if ($id and length $args{Category}) {
# $self would be loaded at this stage
- $self->SetCategory($args{Category});
+ my ($status, $msg) = $self->SetCategory( $args{Category} );
+ unless ( $status ) {
+ $RT::Logger->error("Couldn't set category: $msg");
+ }
}
return ($id, $msg);
}
More information about the Rt-commit
mailing list