Re: [Zope] How do I deal with UNpickelableError ?
by Catonano other posts by this author
Jan 1 2003 9:36AM messages near this date
Re: [Zope] How do I deal with UNpickelableError ?
|
[Zope] PUT_factory -- Script Import Permissions
Dieter,
On Thu, 2 Jan 2003 20:51:19 +0100, Dieter Maurer wrote:
> Catonano wrote at 2002-12-30 19:35 +0100:
> > ...
> > I get something back froma ZCatalog ( results = myZCatalog({'myAttr':
> > myValue}) )
> [...]
>
> You cannot put the result of a catalog search in a session.
>
> But you can store the *list* of "record id"s and later
> use a catalog method (something like "get_object") to get at the real
> object.
>
> I answered such a question recently in the mailing list.
> Please search the archive, for details.
really thanks for this tip. I've been struggling with the ZCatalog
results because they're brains and not the actual objects, not putting
them in session only but also in other tasks.
I'm going to search the archive right now.
thanks again
Bye
Catonano
_______________________________________________
Zope maillist - Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )
Thread:
Catonano
Dieter Maurer
Catonano
|