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

Bug #1390191 reported by Paweł Stołowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Unassigned
unity-scope-click (Ubuntu)
Fix Released
High
Paweł Stołowski
unity-scope-click (Ubuntu RTM)
Fix Released
High
Paweł Stołowski

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.

Tags: rtm14

Related branches

Changed in unity-scope-click (Ubuntu):
status: New → Confirmed
description: updated
dobey (dobey)
summary: - Department now shown if there is only one app and it uses X-Ubuntu-
+ Department not shown if there is only one app and it uses X-Ubuntu-
Default-Department-ID key
dobey (dobey)
Changed in unity-scope-click (Ubuntu):
importance: Undecided → High
Changed in unity-scope-click (Ubuntu RTM):
status: New → Confirmed
importance: Undecided → High
tags: added: rtm14
Changed in unity-scope-click (Ubuntu):
status: Confirmed → In Progress
dobey (dobey)
Changed in unity-scope-click (Ubuntu RTM):
status: Confirmed → In Progress
Changed in unity-scope-click (Ubuntu):
assignee: nobody → Pawel Stolowski (stolowski)
Changed in unity-scope-click (Ubuntu RTM):
assignee: nobody → Pawel Stolowski (stolowski)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+15.04.20141212.1-0ubuntu1

---------------
unity-scope-click (0.1.1+15.04.20141212.1-0ubuntu1) vivid; urgency=low

  [ Pawel Stolowski ]
  * Removed the restriction in get_children method that filtered empty
    departments out. (LP: #1390191)

  [ Leo Arias ]
  * Updated the autopilot tests to get then back to green. (LP:
    #1398933)
 -- Ubuntu daily release <email address hidden> Fri, 12 Dec 2014 18:40:43 +0000

Changed in unity-scope-click (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
importance: Undecided → High
milestone: none → ww03-2015
status: New → Confirmed
Omer Akram (om26er)
Changed in canonical-devices-system-image:
status: Confirmed → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+15.04.20150109~rtm-0ubuntu1

---------------
unity-scope-click (0.1.1+15.04.20150109~rtm-0ubuntu1) 14.09; urgency=low

  [ Pawel Stolowski ]
  * Removed the restriction in get_children method that filtered empty
    departments out. (LP: #1390191)
 -- Ubuntu daily release <email address hidden> Fri, 09 Jan 2015 21:30:48 +0000

Changed in unity-scope-click (Ubuntu RTM):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.