[Zope-CMF] CMFWiki -- Error Value: URL

Norman Khine norman@khine.net
Thu, 19 Jul 2001 12:37:53 +0100


Hi,
I am currently, experimenting, with the cmfwiki type, for use in
colaborative member project/s creations. But I am finding, that a wiki page
is being displayed when a search is made as a found item, but if a member
clicks on this they get an error, which is as follows:

Zope Error
Zope has encountered an error while publishing this resource.

Error Type: KeyError
Error Value: URL

and traceback

Traceback (innermost last):
  File /usr/home/dsuk5/zope/2-3-3/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /usr/home/dsuk5/zope/2-3-3/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/home/dsuk5/zope/2-3-3/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: FrontPage)
  File /usr/home/dsuk5/zope/2-3-3/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/home/dsuk5/zope/2-3-3/lib/python/ZPublisher/mapply.py, line 160,
in mapply
    (Object: view)
  File /usr/home/dsuk5/zope/2-3-3/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: view)
  File
/usr/home/dsuk5/zope/2-3-3/lib/python/Products/CMFCore/PortalContent.py,
line 247, in view
    (Object: FrontPage)
  File
/usr/home/dsuk5/zope/2-3-3/lib/python/Products/CMFWiki/CMFWikiPage.py, line
139, in __call__
    (Object: FrontPage)
  File
/usr/home/dsuk5/zope/2-3-3/lib/python/Products/CMFCore/FSDTMLMethod.py, line
182, in __call__
    (Object: RestrictedDTML)
  File /usr/home/dsuk5/zope/2-3-3/lib/python/DocumentTemplate/DT_String.py,
line 540, in __call__
    (Object: RestrictedDTML)
  File /usr/home/dsuk5/zope/2-3-3/lib/python/OFS/DTMLMethod.py, line 182, in
__call__
    (Object: standard_html_header)
  File /usr/home/dsuk5/zope/2-3-3/lib/python/DocumentTemplate/DT_String.py,
line 540, in __call__
    (Object: standard_html_header)
  File /usr/home/dsuk5/zope/2-3-3/lib/python/OFS/DTMLMethod.py, line 182, in
__call__
    (Object: standard_top_bar)
  File /usr/home/dsuk5/zope/2-3-3/lib/python/DocumentTemplate/DT_String.py,
line 540, in __call__
    (Object: standard_top_bar)
  File /usr/home/dsuk5/zope/2-3-3/lib/python/DocumentTemplate/DT_Let.py,
line 149, in render
    (Object: member="portal_membership.getAuthenticatedMember()"
              listMembers="portal_membership.checkPermission('List portal
members', member)")
  File /usr/home/dsuk5/zope/2-3-3/lib/python/DocumentTemplate/DT_Var.py,
line 277, in render
    (Object: URL)
KeyError: (see above)



I can view the wiki, only if I use the wiki contents link, if this is the
case, how do I ensure that if a user makes a search and finds a wiki page,
this link is not broken as is with the above error.

thanks

Norman