[Zope-CMF] CMFCalendar_02b -- Cannot find default view

Andrew Sawyers andrew@zope.com
Mon, 7 Jan 2002 12:14:33 -0500


Events are definately viewable outside of a calendar; with a Head checkout
and 2.4.x it works properly;
I've not tested on 2.5; but doubt there's any issues with that.
Can you check in the types tool what's listed as the default view for an
Event?
It should have a view action or event_view.

Some documentation is available at:

http://cmf.zope.org/Members/andrew/projects/CMFCalendar

http://cmf.zope.org/Members/frankmc/UsingCalendarTag


Thanks,
Andrew

-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Danny Morgan
Sent: Monday, January 07, 2002 11:50 AM
To: zope-cmf@zope.org
Subject: [Zope-CMF] CMFCalendar_02b -- Cannot find default view


Within a cmf site I have added a CMF Event, mardigras; an error occurs when
I attempt to view it (both on my Win98/Zope2.5/CMF1.1 and on the setup at
mysite.zopesites.com)


My guess is that it is only meant to be displayed within a calendar, but I
have yet to find a calendar object to add. Clues? A pointer to documentation
that covers CMFCalendar?


Thanks,

Danny




===================

Zope Error

Zope has encountered an error while publishing this resource.

Error Type: Not Found
Error Value: Cannot find default view for "/anthill/mardigras"

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the HTML
source for this page.

If the error persists please contact the site maintainer. Thank you for your
patience.

Traceback (innermost last):
  File C:\streamgardens\lib\python\ZPublisher\Publish.py, line 151, in
publish_module
  File C:\streamgardens\lib\python\ZPublisher\Publish.py, line 115, in
publish
  File C:\streamgardens\lib\python\Zope\__init__.py, line 158, in
zpublisher_exception_hook
    (Object: mardigras)
  File C:\streamgardens\lib\python\ZPublisher\Publish.py, line 99, in
publish
  File C:\streamgardens\lib\python\ZPublisher\mapply.py, line 88, in mapply
    (Object: view)
  File C:\streamgardens\lib\python\ZPublisher\Publish.py, line 40, in
call_object
    (Object: view)
  File C:\a_streamgarden\lib\python\Products\CMFCore\PortalContent.py, line
247, in view
    (Object: mardigras)
  File C:\a_streamgarden\lib\python\Products\CMFCore\PortalContent.py, line
234, in __call__
    (Object: mardigras)
  File C:\a_streamgarden\lib\python\Products\CMFCore\PortalContent.py, line
227, in _getDefaultView
    (Object: mardigras)
Not Found: (see above)




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests