WADL is not revalidated effectively.

Bug #752107 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

I'm trying to update hydrazine's feed-pqm to take advantage of the fix for bug https://bugs.launchpad.net/launchpad/+bug/316694 rather than doing string transformation. I get a surprising failure

(Pdb) p mp
<branch_merge_proposal at https://api.launchpad.net/1.0/~jelmer/bzr/realclean/+merge/56358>
(Pdb) p mp.web_link
*** AttributeError: AttributeError("'Entry' object has no attribute 'web_link'",)

This may be due to a caching problem. But this branch is nearly new, and couldn't possibly have been cached since before web_link was added. Maybe my WADL cache is extremely old?

Tags: caching http
Revision history for this message
Martin Pool (mbp) wrote :

Deleting everything under /home/mbp/.launchpadlib/api.launchpad.net/cache fixed this. That suggests something's not being invalidated within a reasonable time.

j.c.sackett (jcsackett)
Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
importance: Critical → High
summary: - branch_merge_proposal has no web_link
+ WADL is not revalidated effectively.
Changed in launchpad:
importance: High → Low
tags: added: cachign http
tags: added: caching
removed: cachign
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.