Found two cases on connectipedia of cards that were in the db and not trash, but cached as missing. This caused additional errors downstream.
1. we should probably handle the error case better
2. should try to debug how it is getting into the broken state place
3. should write a rake utility and/or interface hack for expiring cache for a given card.
causes errors like this:
A ActionView::TemplateError occurred in card#show:
for card Oregon Solutions: Sorry Anonymous, You don't have permission to create Basic cards
On line #1 of cardtypes/basic/_content.rhtml
1: <%= slot.render :raw_content %>
app/models/card/permissions.rb
:80:in `ok!'
app/models/card/base.rb:354:in `content_without_tracking'
(eval):13:in `content'
question: if you delete something, does it stay in cache?
what if you rename a card to a name that was cached as missing?
--Lewis Hoffman.....Wed Jul 16 16:18:01 -0700 2008
verified that at least in simple case:
1. removing a card removes cache
2. rename baz->faz when faz is cached as missing updated appropriately.
--Lewis Hoffman.....Thu Jul 24 17:17:57 -0700 2008
Agreement here was to check into this briefly. I'm not finding any smoking guns, so leaving open but pushing off to future release.
--Lewis Hoffman.....Thu Jul 24 21:00:32 -0700 2008
has this come up recently?
--Ethan McCutchen.....Fri Nov 14 11:18:03 -0800 2008
--Ethan McCutchen.....Mon Dec 01 13:53:56 -0800 2008