https://bugs.kde.org/show_bug.cgi?id=411983

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/drk
                   |                            |onqi/b769764b4727affd05d00d
                   |                            |8b7d63053871908365

--- Comment #11 from Harald Sitter <sit...@kde.org> ---
Git commit b769764b4727affd05d00d8b7d63053871908365 by Harald Sitter.
Committed on 25/09/2019 at 10:44.
Pushed by sitter into branch 'Plasma/5.17'.

fix default version selection to allow for renamed "unspecified" versions

Summary:
plasmashell for example has a "master" instead of "unspecified". if we
still tried to file a bug against "unspecified" bugzilla will throw rather
unhelpful errors. instead as a fallback to finding a "proper" version, make
sure to set the "default" to something sane. if the hardcoded default
doesn't map to an actual version as per the API we pick the lowest possible
id and file against that instead. seeing as you cannot remove versions this
should technically be the "unspecified" version no matter what it was
renamed to.

Test Plan: can file bugs against plasmashell even when kcrash passed an empty
or unmapped version

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24214

M  +14   -1    src/bugzillaintegration/productmapping.cpp

https://commits.kde.org/drkonqi/b769764b4727affd05d00d8b7d63053871908365

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to