From 1c37993c45fdb8fc27694488d496f3228444c23f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 23 May 2011 17:38:40 +0200 Subject: rename "global_uuid" element to "duphash" Signed-off-by: Denys Vlasenko --- src/plugins/abrt-action-bugzilla.c | 2 ++ src/plugins/rhbz.c | 3 +++ 2 files changed, 5 insertions(+) (limited to 'src/plugins') diff --git a/src/plugins/abrt-action-bugzilla.c b/src/plugins/abrt-action-bugzilla.c index 5483e420..d617d4bb 100644 --- a/src/plugins/abrt-action-bugzilla.c +++ b/src/plugins/abrt-action-bugzilla.c @@ -57,6 +57,8 @@ static void report_to_bugzilla(const char *dump_dir_name, map_string_h *settings const char *component = get_problem_item_content_or_NULL(problem_data, FILENAME_COMPONENT); const char *duphash = get_problem_item_content_or_NULL(problem_data, FILENAME_DUPHASH); +//COMPAT, remove after 2.1 release + if (!duphash) duphash = get_problem_item_content_or_NULL(problem_data, "global_uuid"); if (!duphash) error_msg_and_die(_("Essential file '%s' is missing, can't continue.."), FILENAME_DUPHASH); diff --git a/src/plugins/rhbz.c b/src/plugins/rhbz.c index 86cd86d7..cd3a07a7 100644 --- a/src/plugins/rhbz.c +++ b/src/plugins/rhbz.c @@ -294,6 +294,9 @@ int rhbz_new_bug(struct abrt_xmlrpc *ax, problem_data_t *problem_data, FILENAME_ARCHITECTURE); const char *duphash = get_problem_item_content_or_NULL(problem_data, FILENAME_DUPHASH); +//COMPAT, remove after 2.1 release + if (!duphash) duphash = get_problem_item_content_or_NULL(problem_data, + "global_uuid"); const char *reason = get_problem_item_content_or_NULL(problem_data, FILENAME_REASON); const char *function = get_problem_item_content_or_NULL(problem_data, -- cgit