** Also affects: unity-scopes-shell (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
   scope API - department does not reset on filters' change

Status in unity-scopes-api package in Ubuntu:
  New
Status in unity-scopes-shell package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  New

Bug description:
  Let's assume one decides to have a different tree of departments depending on 
which filter is selected.
  If i select a department(e.g. with id="80" and not present in the filter2), 
and then i select filter2, the following exception is thrown:

  ScopeBase::run(): unity::LogicException: 
SearchReplyImpl::register_departments(): Failed to validate departments:
  unity::LogicException: DepartmentImpl::validate_departments(): current 
department '80' doesn't match any of the subdepartments of parent ''

  However, if i select again filter2, the department resets correctly to the 
root.
  It seems like the new query on the filter selection does not update the 
departments.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to