From d9b38fd554ae02a645746c13d1f2ca5d743026f3 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 10 Jun 2014 13:47:32 +0800 Subject: Bug 1022500: cloning a firefox tracking flags throws "The component named 'Template::Document=HASH(0x7f7ffacdb4c8)' does not exist. " --- .../admin/sanitycheck/messages-statuses.html.tmpl | 23 ++++++++++++++++++++++ .../hook/global/code-error-errors.html.tmpl | 3 ++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 extensions/TrackingFlags/template/en/default/hook/admin/sanitycheck/messages-statuses.html.tmpl (limited to 'extensions/TrackingFlags/template/en') diff --git a/extensions/TrackingFlags/template/en/default/hook/admin/sanitycheck/messages-statuses.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/admin/sanitycheck/messages-statuses.html.tmpl new file mode 100644 index 000000000..71ef63c11 --- /dev/null +++ b/extensions/TrackingFlags/template/en/default/hook/admin/sanitycheck/messages-statuses.html.tmpl @@ -0,0 +1,23 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% IF san_tag == "tracking_flags_repair" %] + Repair invalid product_id values in the tracking_flags_visibility table + +[% ELSIF san_tag == "tracking_flags_check" %] + Checking tracking_flags_visibility table for bad values of product_id. + +[% ELSIF san_tag == "tracking_flags_alert" %] + Bad values for product_id found in the tracking_flags_visibility table. + +[% ELSIF san_tag == "tracking_flags_repairing" %] + OK, now fixing bad product_id values in the tracking_flags_visibility table. + +[% END %] diff --git a/extensions/TrackingFlags/template/en/default/hook/global/code-error-errors.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/global/code-error-errors.html.tmpl index 2d462ebaf..d656aac92 100644 --- a/extensions/TrackingFlags/template/en/default/hook/global/code-error-errors.html.tmpl +++ b/extensions/TrackingFlags/template/en/default/hook/global/code-error-errors.html.tmpl @@ -12,7 +12,8 @@ [% ELSIF error == "tracking_flags_invalid_component" %] [% title = "Invalid Component" %] - The component named '[% component FILTER html %]' does not exist. + The component named '[% component_name FILTER html %]' does not exist in the + product '[% product FILTER html %]'. [% ELSIF error == "tracking_flags_invalid_item_id" %] [% title = "Invalid " _ item _ " ID" %] -- cgit v1.2.3-24-g4f1b