[Zope] Unable to locate object by ID
Lapointe, David
dlapointe at srs.state.vt.us
Wed May 19 12:52:21 EDT 2004
I'm a fairly experienced programmer/admin, but relatively new to zope (have
been forced to pick it up to manage a legacy system written in v 2.3). I'm
having a very confusing problem. Essentially I have some dtml code which is
used to remove certain objects. The code is as follows:
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<h2><dtml-var document_title></h2>
<dtml-call "_.getitem('lhCatalog').uncatalog_object(REQUEST['hoursid'])">
<dtml-call "manage_delObjects(REQUEST['hoursid'],REQUEST)">
Hours entry has been removed.
<dtml-var manage_page_footer>
When pages are rendered, they look in the catalog and find the object fine.
When I call this method, however, it tells me the objects do not exist
(using what appears to be the same id). Is it possible that there are two
versions of the catalog, or that the catalog is caching objects in some way?
Any help on where to start debuggin this is much appreciated. (I'm using
v2.4).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040519/5d35ce9f/attachment.html
More information about the Zope
mailing list