Many repeated queries for allow_relicensing on +translate pages

Bug #297136 reported by Данило Шеган
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Jeroen T. Vermeulen

Bug Description

We seem to be issuing two queries on TranslationRelicensingAgreement table for every TranslationMessage being shown on the +translate pages.

As can be seen in
  https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1046E1977

Related branches

Revision history for this message
Данило Шеган (danilo) wrote :

Might be partially the reason behind bug 241394.

Changed in rosetta:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Stumbled across (some of?) the reasons for these while working on something else.

Changed in rosetta:
status: Triaged → In Progress
assignee: nobody → Jeroen T. Vermeulen (jtv)
milestone: none → 10.12
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in rosetta:
status: In Progress → Fix Committed
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Yup, that's fixed. Still plenty of repetition, so we could probably save another few tenths of a second by eliminating a few more repeated queries.

tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in rosetta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.