[Rt-commit] rt branch, 4.2/dashboard-tables, updated. rt-4.0.0rc6-176-g6643907
Shawn Moore
sartak at bestpractical.com
Mon Mar 21 11:18:52 EDT 2011
The branch, 4.2/dashboard-tables has been updated
via 6643907e8d81ed6b1dd8775b604600dde150d936 (commit)
from 3b9971b2f51676d153fc32b76b5bbf3f86b74dc8 (commit)
Summary of changes:
etc/upgrade/4.1.1/content | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 6643907e8d81ed6b1dd8775b604600dde150d936
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Mon Mar 21 11:18:36 2011 -0400
For successful subscription updates, debug log
diff --git a/etc/upgrade/4.1.1/content b/etc/upgrade/4.1.1/content
index 902230b..632d20e 100644
--- a/etc/upgrade/4.1.1/content
+++ b/etc/upgrade/4.1.1/content
@@ -69,7 +69,14 @@ my $convert_attributes = sub {
next;
}
- $subscription->SetSubValue(DashboardId => $new_id);
+ my ($ok, $msg) = $subscription->SetSubValue(DashboardId => $new_id);
+
+ if (!$ok) {
+ $RT::Logger->error("Unable to update subscription " . $subscription->id . " from dashboard $old_id to $new_id: $msg");
+ next;
+ }
+
+ $RT::Logger->debug("Updated subscription " . $subscription->id . " from dashboard $old_id to $new_id");
}
}
},
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list