[Zope3-dev] problems with NewsSite and Package3/workflow

Garrett Smith garrett@mojave-corp.com
Tue, 22 Apr 2003 10:56:44 -0500


I'm running into some problems using the NewsSite product:

Minor problem with NewsSite install instructions:

- You need to install the Package3/workflow package per the workflow
README instructions. The NewsSite installation instructions list this as
a "maybe" requirement.

Problem with Package3/workflow source:

- Line 39 of Package3/workflow/stateful/instance.py should be changed
from "zope.pagetemplate..." to "zope.app.pagetemplate..."

Problems with NewsSite:

 - When I try to add a news item (clicking Submit from news item add
form), I get a ForbiddenAttribute error on 'add'. The security check is
failing when trying to add the news item to the news site. The add
operation is at line 128 in zope/app/browser/form/add.py.

- When I try to register (clicking Register in news site view), I get a
KeyError on "getUserInfo" -- the original call to getUserInfo is coming
from line 55 of NewsSite/skin/template.pt.

Let me know if you need any more information.

One other question/point: Is there any way to make the Package3/workflow
installation less intrusive to the Zope3 tree? Replacing/moving
directories and modifying site.zcml would seem to complicate ongoing CVS
updates.

- Garrett Smith