Ghost object

sebmas <sebastien.masson-+4qp5d0/[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
Hi,
I'm experiencing something very annoying with my old CPS 3.??? (it's a
very old version, a kind of alpha one), but the problem might have a
Zope-ish solution.
When a user tried to add a box in a Section which hadn't any Box
Container, the operation failed with a "the id : .cps_boxes is
reserved". Strange isn'it ?
I've checked the annoying "_checkId" method (CMFCore.PortalFolder) and
discovered that some tests were made if the user doesn't have "Manage
portal" persmissions (it's the case, he is a SectionManager).
And I finally discovered that I have a ".cps_boxes" (not the
".cps_boxes_root) existing on the top of my CPS instance, but it's
invisible in the ZMI (direct URL access to it reveals it).
But the naming conflict really occurs, thank to it !

I've tried to delete it per script(manage_delObjects) but it failed as
the object doesn't exist.
Under the zopectl debugger, I tried the same (_delObject, _delOb) but it
failed too, for the same reasons.
Just for fun, it put another object (_setOb) with the same name in place
: it was still a "ghost", but it was my newly created one. After
deletion, the old one was there again, undeletable.

What else could I check ? The ZODB looks clean (no POSKeyErrors or
things like that)
Any idea ?

Regards

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.