[Zope3-Users] Disappearing dictionary. Upon restart,
dictionary resets.
Alec Munro
alecmunro at gmail.com
Tue Sep 20 14:42:17 EDT 2005
Hi all,
I have a content component that has a property that is a dictionary,
the keys of which are objects (content components themselves). The
values are lists of strings. I've tried implementing this a couple
different ways, but each time I restart, the dictionary comes up
empty.
I've tried initializing the dictionary as a standard dictionary, a
peristent dictionary, and as a field property. The results are the
same in any case.
Is there a problem with using objects as dictionary keys in this circumstance?
What I am trying to do is provide additional information relevant to
an object (the keys) specific to a given location (the original
content component). If there is another simple way to do this, I would
appreciate hearing it.
Thanks again!
Alec Munro
More information about the Zope3-users
mailing list