Public bug reported:

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.

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1398843

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to