[Zope] SiteAccess breaks ZDConfera
Alexander Staubo
alex@mop.no
Wed, 22 Mar 2000 18:19:35 +0100
Adding a SiteRoot object to some folder upward from a ZDConfera topic
("Confera Topic" object) will break the topic.
It seems that when adding a message, instead of inserting a valid
message object, ZDConfera ends up adding a corrupt object. At one point
ZDConfera, when I tried adding a follow-up, duplicated the parent
message instead of adding the reply, resulting in a circular reference
that only a database restore would fix.
This is Zope 2.1.4, SiteAccess 1.0.1, ZDiscussions 0.2.0, on Slackware
Linux 2.2.
Here's the traceback.
Error type: AttributeError
Error value: 'None' object has no attribute 'date_created'
Traceback (innermost last):
File /usr/src/Zope-2.1.4-src/lib/python/ZPublisher/Publish.py, line
214, in publish_module
File /usr/src/Zope-2.1.4-src/lib/python/ZPublisher/Publish.py, line
179, in publish
File /usr/src/Zope-2.1.4-src/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
File /usr/src/Zope-2.1.4-src/lib/python/ZPublisher/Publish.py, line
165, in publish
File /usr/src/Zope-2.1.4-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
(Object: test)
File /usr/src/Zope-2.1.4-src/lib/python/ZPublisher/Publish.py, line
102, in call_object
(Object: test)
File /usr/src/Zope-2.1.4-src/lib/python/OFS/DTMLMethod.py, line 145,
in __call__
(Object: test)
File /usr/src/Zope-2.1.4-src/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
(Object: test)
File /usr/src/Zope-2.1.4-src/lib/python/TreeDisplay/TreeTag.py, line
154, in render
(Object: a tree tag)
File /usr/src/Zope-2.1.4-src/lib/python/TreeDisplay/TreeTag.py, line
245, in tpRender
(Object: ElementWithAttributes)
File /usr/src/Zope-2.1.4-src/lib/python/TreeDisplay/TreeTag.py, line
491, in tpRenderTABLE
(Object: ElementWithAttributes)
(Info: (['Diskusjon', []], {'childless_decoration': '', 'id':
'tpId', 'branches': 'messageValues', 'url': 'tpURL', 'sort':
'date_created'}, [['Diskusjon', []]], [['Diskusjon', []]]))
File /usr/src/Zope-2.1.4-src/lib/python/TreeDisplay/TreeTag.py, line
331, in tpRenderTABLE
(Object: 953744195)
AttributeError: 'None' object has no attribute 'date_created'
--
Alexander Staubo http://alex.mop.no/
The difference between theory and practice is that, in theory,
there is no difference between theory and practice.