|
From: | Tarmo Toikkanen |
Subject: | Re: [Fle3-dev] Open Bugs [was:Re: Avoimet bugit] |
Date: | Thu Jul 25 07:30:16 2002 |
User-agent: | Mutt/1.5.1i |
On 25.07.2002, 12:06:05, Bo Granlund wrote:
Moi, I think this can be generalized so, that any such information that is stored as a loose pointer reference to some real zope object, should be handled nonfataly. I.e. if it doesn't exist, try to ignore it, if ignoring would not make sense, try to cleanup, and only after that should an error go back, or something. Assertions are ok in development usage, but they should all be disabled in production version...... I guess there are quite a few places where this applies.
Right. Specifically we need to address bugs #803 and #804, which both stem from this same issue - removing a course leaves references and link lingering. Janne, could you fix the state_url code? All course specific references from the URL and from server should be removed as appropriate. Probably we shouldn't try to do this when a course is being removed, but rather use exception handlers whenever we try to look up stuff from a course based on the state. An error will cleanly and quietly remove the reference from state. -- Tarmo
[Prev in Thread] | Current Thread | [Next in Thread] |