Shows available click packages even if no framework is installed

Bug #1320975 reported by Michael Vogt
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-scope-click (Ubuntu)
Fix Released

Bug Description

When testing with unity8-desktop-session-mir I had (accidentally) no frameworks installed. Yet the scope would return apps that then fail to install without a error message in the GUI.

We should either depend on a ubuntu-sdk-libs package or send a empty framework to the click search server.

Related branches

dobey (dobey)
summary: - Shows available click packages even if no framework is instaled
+ Shows available click packages even if no framework is installed
Changed in unity-scope-click (Ubuntu):
importance: Undecided → Medium
Revision history for this message
dobey (dobey) wrote :

I think with current tip of /devel we are actually sending an empty frameworks header in the search request. However, it seems the server is still returning all packages with an empty frameworks header.

I think with your branch, if you tested it against the server, the server might have been interpreting "architecture" as a framework name, and then you were getting no results because it's not a valid framework. I don't think the server should be sending no results for an empty framework in the request.

I think we should fail in some way in the client if we cannot get the list of installed frameworks, and we should have a proper dependency on the ubuntu-sdk-libs package, which provides the frameworks info.

Changed in unity-scope-click (Ubuntu):
importance: Medium → High
status: New → Confirmed
dobey (dobey)
Changed in unity-scope-click (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Rodney Dawes (dobey)
dobey (dobey)
Changed in unity-scope-click (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1+14.10.20140523-0ubuntu1

unity-scope-click (0.1+14.10.20140523-0ubuntu1) utopic; urgency=low

  [ Rodney Dawes ]
  * Handle some languages differently when submitting reviews. (LP:
    #1321154). Add runtime dependency on ubuntu-sdk-libs for the
    frameworks list. (LP: #1320975). Support hal+json in the search
    request. Fix issues in autopilot tests. Port autopilot tests to
    python3. Add README and HACKING files. (LP: #1226111). Translations
    updates. . (LP: #1321154, #1226111, #1320975)
 -- Ubuntu daily release <email address hidden> Fri, 23 May 2014 15:00:36 +0000

Changed in unity-scope-click (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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