← Back to team overview

touch-packages team mailing list archive

[Bug 1390191] Re: Department not shown if there is only one app and it uses X-Ubuntu-Default-Department-ID key

 

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scope-click in
Ubuntu.
https://bugs.launchpad.net/bugs/1390191

Title:
  Department not shown if there is only one app and it uses X-Ubuntu-
  Default-Department-ID key

Status in the base for Ubuntu mobile products:
  New
Status in unity-scope-click package in Ubuntu:
  In Progress
Status in unity-scope-click package in Ubuntu RTM:
  In Progress

Bug description:
  Department is not shown in Apps department drop-down menu if it has
  only one application which declares X-Ubuntu-Default-Department-ID=...
  department mapping (and is preinstalled, ie. wasn't installed from
  store).

  This is caused by too restrictive behavior of
  DepartmentsDb::get_children_departments(..), which filters out
  subdepartments that don't have any apps in the local departments db
  (which means that department will never be shown in the departments
  menu if it has no app installed from the store). This restriction
  should probably be removed from that method after careful verification
  if it has no undesired side effects.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1390191/+subscriptions


References