Deleting tagged resource causes KeyError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL3 |
Fix Released
|
Medium
|
Tres Seaver |
Bug Description
Deleting a resource with a tag causes a KeyError when visiting the page for that tag. Looks like we need the karl.models.
Reproduce
============
1) Create a blog entry (or some other resource).
2) Tag it with "tag1".
3) Click on the word "tag1" in the blue bubble to visit the tag page for tag1.
4) Shift-click on the link for your blog entry to revisit the blog entry in a new window.
5) Click Delete to remove the blog entry.
6) Go back to the window with tag1's tag page and reload.
7) You get an exception:
File '/Users/
result = factory(*objects)
File '/Users/
raise KeyError(docid)
KeyError: 1371109149
Changed in karl3: | |
status: | Fix Committed → Fix Released |
I'll work on a Twill test for this, presuming that we have an extension command for handling tagging.