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

Harald Sitter noreply at phabricator.kde.org
Wed Sep 25 11:30:31 BST 2019


sitter created this revision.
sitter added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
sitter requested review of this revision.

REVISION 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.
  
  BUG: 411983

TEST PLAN
  can file bugs against plasmashell even when kcrash passed an empty or unmapped version

REPOSITORY
  R871 DrKonqi

BRANCH
  Plasma/5.17

REVISION DETAIL
  https://phabricator.kde.org/D24214

AFFECTED FILES
  src/bugzillaintegration/productmapping.cpp

To: sitter, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190925/bf77f483/attachment.html>


More information about the Plasma-devel mailing list