You wrote 13 мая 2005 г., 22:21:49:
> Looks as if your catalog were very old and still has entries
> with request relative resolution.
> Replace "assert(obj)" with
> if not obj:
> # here the assert would fail
> # determine its path for later analysis
> path = brain.getPath()
> # ensure, you can see "path" somehow
> # here the assert would pass
> With this information, you can try to analyse the problem
> in an interactive Python interpreter.
I tried your advice and made the following code:
if not obj:
# here the assert would fail
# determine its path for later analysis
path = brain.getPath()
# here the assert would pass
To have either object or brain's path in output ("tagencies" list).
The most interesting is that accessing via name I've got objects and
paths, but accessing via IP I've got ONLY object - no paths...
Then I checked the paths I got for presence of objects on them.
Objects are there, so I decided to use
in code (portal variable was defined), but got the "sign in" screen :(
Maybe it's because I have not so usual structure of Instance? I have
- Plone site
I'm totally confused and don't know what to do with all this. Please
Denis Mishunoff mailto:[EMAIL PROTECTED]
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -