Bug 364293

Cause: QN-ReQ

  • Evidence: "- [% FOREACH p = c.products %] - [% IF user.can_see_product(p.name) && p.components.size %] This code calls Classification->products() which uses its own cache, while User->can_see_bug() uses the one from User->get_selectable_products(). So better is to use only one cache and call User->get_selectable_products() directly"

Fix: CQ

  • "Reduces the number of queries by 706 (going from 2920 to 2214). This is around the expected number of queries with the current architecture "