← Back to team overview

touch-packages team mailing list archive

[Bug 1351477] Re: scope hangs on SearchMetadata::location(metadata)

 

** Changed in: unity-scopes-api (Ubuntu)
       Status: Fix Committed => Fix Released

** Changed in: unity-scopes-api
     Assignee: Michi Henning (michihenning) => (unassigned)

** Changed in: unity-scopes-api
       Status: Fix Committed => Fix Released

** Changed in: unity-scopes-api
     Assignee: (unassigned) => Michi Henning (michihenning)

** Changed in: unity-scopes-api
     Assignee: Michi Henning (michihenning) => (unassigned)

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

Title:
  scope hangs on SearchMetadata::location(metadata)

Status in API for Unity scopes integration:
  Fix Released
Status in unity-scopes-api package in Ubuntu:
  Fix Released
Status in unity-scopes-api source package in Utopic:
  Fix Committed

Bug description:
  Build 166.

  Trying to use Location from the SearchMetadata passed to the Query,
  but the scope hangs:

  Query::Query(CannedQuery const& query,\
                      SearchMetadata const& metadata,\
                      QString const& scopePath):
                          metadata_(metadata),
  {
  [...]
  country = getCountry(metadata_);
  }

  
  QString RssQuery::getCountry(SearchMetadata md) {
      qDebug() << "======= BEFORE";
      unity::scopes::Location const &loc = md.location();
      qDebug() << "======== AFTER ";[...]
  }

  When I comment thelocation() line, the scope works and I see this in /home/phablet/.cache/upstart/scope-registry.log:
  ======= BEFORE
  ======== AFTER

  With the line present, the scope hangs and I see only this:
  ======= BEFORE

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-scopes-api/+bug/1351477/+subscriptions