diff options
Diffstat (limited to 'src/plugins/abrt-action-bugzilla.cpp')
| -rw-r--r-- | src/plugins/abrt-action-bugzilla.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/abrt-action-bugzilla.cpp b/src/plugins/abrt-action-bugzilla.cpp index 1a391ae9..c77a2bad 100644 --- a/src/plugins/abrt-action-bugzilla.cpp +++ b/src/plugins/abrt-action-bugzilla.cpp @@ -449,6 +449,8 @@ xmlrpc_int32 ctx::new_bug(crash_data_t *crash_data, int depend_on_bugno) const char *package = get_crash_item_content_or_NULL(crash_data, FILENAME_PACKAGE); const char *component = get_crash_item_content_or_NULL(crash_data, FILENAME_COMPONENT); const char *release = get_crash_item_content_or_NULL(crash_data, FILENAME_OS_RELEASE); + if (!release) /* Old dump dir format compat. Remove in abrt-2.1 */ + release = get_crash_item_content_or_NULL(crash_data, "release"); const char *arch = get_crash_item_content_or_NULL(crash_data, FILENAME_ARCHITECTURE); const char *duphash = get_crash_item_content_or_NULL(crash_data, FILENAME_DUPHASH); const char *reason = get_crash_item_content_or_NULL(crash_data, FILENAME_REASON); @@ -674,6 +676,8 @@ static void report_to_bugzilla( const char *component = get_crash_item_content_or_NULL(crash_data, FILENAME_COMPONENT); const char *duphash = get_crash_item_content_or_NULL(crash_data, FILENAME_DUPHASH); const char *release = get_crash_item_content_or_NULL(crash_data, FILENAME_OS_RELEASE); + if (!release) /* Old dump dir format compat. Remove in abrt-2.1 */ + release = get_crash_item_content_or_NULL(crash_data, "release"); ctx bz_server(bugzilla_xmlrpc, ssl_verify); @@ -859,6 +863,8 @@ static void report_to_bugzilla( { const char* package = get_crash_item_content_or_NULL(crash_data, FILENAME_PACKAGE); const char* release = get_crash_item_content_or_NULL(crash_data, FILENAME_OS_RELEASE); + if (!release) /* Old dump dir format compat. Remove in abrt-2.1 */ + release = get_crash_item_content_or_NULL(crash_data, "release"); const char* arch = get_crash_item_content_or_NULL(crash_data, FILENAME_ARCHITECTURE); const char* is_private = get_crash_item_content_or_NULL(crash_data, "is_private"); |
