Hi Philipp!
Philipp von Weitershausen wrote:
Dieter Maurer wrote:
Chris McDonough wrote at 2006-3-13 10:21 -0500:
... silly id restrictions ...
Here's my current monkeypatch to Zope to unrestrict a good number of
characters:
def patch_objectmanager_badid():
Causes Zope to be less
--On 14. März 2006 21:14:33 +0100 Andreas Jung [EMAIL PROTECTED] wrote:
lib/python/App/Product.py contains code that deals *somehow* with
distributions (whatever this means). Does any one know what this code
is doing?...anyway this code uses the Python rotor module which was
removed in Python
Paul Winkler wrote:
Unfortunately zdb doesn't appear to work with zope 2.9 / python 2.4.
I'll file a bug report with Chris.
It works great with zope 2.8 / python 2.3.
I'll try and fix this today...
Chris
___
Zope-Dev maillist - Zope-Dev@zope.org
Hi Suresh,
I've actually tried that. The problem I run into is that the folder in
my path contains a dash. When I call manage_delObjects on the following:
obj = context.restrictedTraverse('webcasts/courses/2005-2006/temp')
id = obj.getId()
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Takahashi, Michael wrote:
Hi Suresh,
I've actually tried that. The problem I run into is that the folder in
my path contains a dash. When I call manage_delObjects on the following:
obj =
Tres Seaver wrote:
Takahashi, Michael wrote:
I've actually tried that. The problem I run into is that the folder in
my path contains a dash. When I call manage_delObjects on the following:
obj = context.restrictedTraverse('webcasts/courses/2005-2006/temp')
You need to get a reference to
Takahashi, Michael wrote at 2006-3-14 12:25 -0800:
...
Using restrictedTraverse I'm able to get the object by its path. I then
want to delete this object.
When you have an object obj inside the site hierarchy, then
obj.aq_inner.aq_parent is its container (in this hierarcy).
Therefore, an
yuppie wrote at 2006-3-15 11:23 +0100:
...
Zope 2's checkValidId makes sure this doesn't happen with Zope 2 folder
methods, Zope 3's NameChooser makes sure this doesn't happen with Zope 3
folder views. Even the bad_id-patch described above doesn't allow to
override folder methods.
Maybe, the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dieter Maurer wrote:
yuppie wrote at 2006-3-15 11:23 +0100:
...
Zope 2's checkValidId makes sure this doesn't happen with Zope 2 folder
methods, Zope 3's NameChooser makes sure this doesn't happen with Zope 3
folder views. Even the bad_id-patch
Takahashi, Michael wrote:
I am trying to figure out how to delete an object in Zope given a path.
snip
Any help is greatly appreciated.
You want to call manage_delObjects on the parent folder and give it the
list of ids.
___
Zope-Dev
10 matches
Mail list logo