diff options
author | Byron Jones <glob@mozilla.com> | 2014-06-10 07:47:32 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-06-10 07:47:46 +0200 |
commit | d9b38fd554ae02a645746c13d1f2ca5d743026f3 (patch) | |
tree | 628f2e58ef18f86fb9f943c11aeecce271748f5e /extensions/TrackingFlags/lib | |
parent | f0cab2479e25ab0ed36a8bf256406d80b21ddb19 (diff) | |
download | bugzilla-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.pm | 5 |
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}, + }); } } |