initctl start url-dispatcher-update-user does not update the protocols database

Bug #1461496 reported by Leo Arias
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
url-dispatcher (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I want to register a protocol for an application putting it in ~/.config/url-dispatcher/urls. According to Ted, after running

$ initctl start url-dispatcher-update-user

the url dispatcher database should be updated with the new protocol. But that's not working.
It only works if I run /usr/lib/*/url-dispatcher/update-directory with the path or my .url-dispatcher file.

To check the database after the update:

echo .quit | sqlite3 -batch -csv -cmd "select urls.protocol, urls.domainsuffix, configfiles.name from urls, configfiles where urls.sourcefile = configfiles.rowid;" ~/.cache/url-dispatcher/urls-1.db

Here is the branch where I'm automating this test:
https://code.launchpad.net/~canonical-platform-qa/ubuntu-ui-toolkit/register_url_dispatcher/+merge/260923

Related branches

Ted Gould (ted)
Changed in url-dispatcher (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package url-dispatcher - 0.1+17.04.20161107-0ubuntu1

---------------
url-dispatcher (0.1+17.04.20161107-0ubuntu1) zesty; urgency=medium

  [ Florian Boucault ]
  * Crossbuilding Fixes

  [ Larry Price ]
  * App ID should allow package names with dots. (LP: #1591342) (LP: #1606498)

  [ Ted Gould ]
  * Check versions of appid:// urls to reduce the number of invalid appids
    we send to UAL (LP: #1352656)
  * Scope testing for the scope:// URL and overlays that should be over
    the dash
  * Protect the dash from getting NULL urls (LP: #1476257)
  * Make sure URL Overlays are shutdown on exit
  * Remove the wildcard that is confusing the update script (LP: #1461496)
  * Not using a message that isn't set properly (LP: #1608009)
  * Fixing tests to adjust for UAL changes
  * Add a small GUI helper tool for testing
  * Show error dialog over apps that use Bad URLs (LP: #1370008)

 -- Ted Gould <email address hidden> Mon, 07 Nov 2016 16:33:15 +0000

Changed in url-dispatcher (Ubuntu):
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.