← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1790563] Re: Many JsonArray critical warnings on command line

 

This bug was fixed in the package gnome-software -
3.20.5-0ubuntu0.16.04.12

---------------
gnome-software (3.20.5-0ubuntu0.16.04.12) xenial; urgency=medium

  * debian/patches/0001-Fix-potential-crash-when-icons-are-missing.patch:
    - Fix crash loading icons (LP: #1778135)
  * debian/patches/0020-Add-a-basic-permissions-system.patch:
    - Fix crash when have plugs with multiple slots available (LP: #1778160)
  * debian/patches/0021-Add-a-Snap-plugin.patch
    - Fix some command line warnings (LP: #1790563)
    - Use new snapd media API (LP: #1799614)
    - Allow connections on the u2f-devices interface (LP: #1738164)
  * debian/patches/0053-Don-t-reject-unexpected-state-changes-external-event.patch:
    - Fix snaps not being shown correctly after install from command line
      (LP: #1754655)
  * debian/patches/0054-Show-verified-developers.patch:
    - Show verified developers (LP: #1789336)

 -- Robert Ancell <robert.ancell@xxxxxxxxxxxxx>  Wed, 17 Apr 2019
14:39:52 +1200

** Changed in: gnome-software (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1790563

Title:
  Many JsonArray critical warnings on command line

Status in gnome-software package in Ubuntu:
  Fix Released
Status in gnome-software source package in Xenial:
  Fix Released

Bug description:
  [Impact]
  Running GNOME Software gives many JsonArray warnings on the command line:
  Json-CRITICAL **: json_object_get_array_member: assertion 'node != NULL' failed
  Json-CRITICAL **: json_array_get_length: assertion 'array != NULL' failed
  This is due to the code not handling there being no plugs defined in the interface table (which is valid when it is empty).

  [Test Case]
  1. Run GNOME Software from the command line
  $ killall gnome-software
  $ gnome-software

  Expected result:
  No JsonArray critical warnings are show.

  Observed result:
  Many JsonArray critical warnings are show. 

  [Regression Potential]
  Risk of additional checks breaking expected behaviour.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1790563/+subscriptions


References