External suggestion "Used in" links to disabled template

Bug #504062 reported by Данило Шеган
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Henning Eggers

Bug Description

We fetch external suggestions even from disabled templates. That's not bad because that way we lose no translations data that can be used. However, links for those translations only work for admins, everybody else gets a "not found error".

This bug is very similar to bug 454570, and another related bug is bug 489942.

OOPS-1461G1076

As an example, see the links on https://translations.qastaging.launchpad.net/openshot/trunk/+pots/openshot/eo/+translate

Related branches

Changed in launchpad:
importance: High → Critical
Curtis Hovey (sinzui)
tags: added: 404
Curtis Hovey (sinzui)
tags: added: trivial
j.c.sackett (jcsackett)
summary: - External suggestion "used in" links to disabled template
+ External suggestion "Used in" links to disabled template
description: updated
Revision history for this message
Henning Eggers (henninge) wrote :

Templates for external suggestions are taken from the SuggestivePOTemplate table. That table is populate with active templates only, so this can (nowadays) only happen after a template has been disabled and the cache has not yet been updated. The fix is to remove a template from the cache when it gets disabled.

Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Henning Eggers (henninge)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
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.