← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1790563] [NEW] Many JsonArray critical warnings on command line

 

Public bug reported:

[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.

** Affects: gnome-software (Ubuntu)
     Importance: Low
         Status: Fix Released

** Affects: gnome-software (Ubuntu Xenial)
     Importance: Low
     Assignee: Robert Ancell (robert-ancell)
         Status: Fix Committed

** Also affects: gnome-software (Ubuntu Xenial)
   Importance: Undecided
       Status: New

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

** Changed in: gnome-software (Ubuntu)
   Importance: Undecided => Low

** Changed in: gnome-software (Ubuntu Xenial)
   Importance: Undecided => Low

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

** Changed in: gnome-software (Ubuntu Xenial)
     Assignee: (unassigned) => Robert Ancell (robert-ancell)

** Summary changed:

- Many JsonArray warnings on command line
+ Many JsonArray critical warnings on command line

-- 
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 Committed

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


Follow ups