Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Display appropriate Bugzilla URL depending on the release name of the product on which the error occurred.
In case of an error, the error dialog will request the user to file a report on https://bugzilla.opensuse.org when the release name in
/etc/os-release
contains "openSUSE". For any other release name, theBugzilla URL displayed would be https://bugzilla.suse.com.
Screenshots
Before
![Error Screenshot on any SUSE release](https://user-images.githubusercontent.com/1150476/79381536-c1f73800-7f7f-11ea-9003-142a541649cf.png)
After (on openSUSE system)
![Error Screenshot on openSUSE](https://user-images.githubusercontent.com/1150476/79381632-e521e780-7f7f-11ea-869d-6ed93ebfef95.png)
I tested this by commenting out NAME= attribute from
/etc/os-release
file. In this case, theOSRelease.ReleaseName
method will return the default value of "SUSE Linux" and in that case, https://bugzilla.suse.com URL is displayed to the user.Fixes bsc#1081441