summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags/lib
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-06-10 07:47:32 +0200
committerByron Jones <glob@mozilla.com>2014-06-10 07:47:46 +0200
commitd9b38fd554ae02a645746c13d1f2ca5d743026f3 (patch)
tree628f2e58ef18f86fb9f943c11aeecce271748f5e /extensions/TrackingFlags/lib
parentf0cab2479e25ab0ed36a8bf256406d80b21ddb19 (diff)
downloadbugzilla-d9b38fd554ae02a645746c13d1f2ca5d743026f3.tar.gz
bugzilla-d9b38fd554ae02a645746c13d1f2ca5d743026f3.tar.xz
Bug 1022500: cloning a firefox tracking flags throws "The component named 'Template::Document=HASH(0x7f7ffacdb4c8)' does not exist. "
Diffstat (limited to 'extensions/TrackingFlags/lib')
-rw-r--r--extensions/TrackingFlags/lib/Admin.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/TrackingFlags/lib/Admin.pm b/extensions/TrackingFlags/lib/Admin.pm
index b72416819..389acde2c 100644
--- a/extensions/TrackingFlags/lib/Admin.pm
+++ b/extensions/TrackingFlags/lib/Admin.pm
@@ -263,7 +263,10 @@ sub _validate {
if ($visibility->{component} ne '') {
$visibility->{component_obj} = Bugzilla::Component->new({ product => $visibility->{product_obj},
name => $visibility->{component} })
- || ThrowCodeError('tracking_flags_invalid_component', { component => $visibility->{component} });
+ || ThrowCodeError('tracking_flags_invalid_component', {
+ product => $visibility->{product},
+ component_name => $visibility->{component},
+ });
}
}