← Back to team overview

touch-packages team mailing list archive

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

 

Fix committed into lp:unity-scopes-api/devel at revision 531, scheduled
for release in unity-scopes-api, milestone Unknown

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

-- 
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 Committed
Status in “unity-scopes-api” package in Ubuntu:
  New
Status in “unity-scopes-api” source package in Utopic:
  New

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