[Zope3-dev] Jobboard demo fixes (i18n)

Nathan R. Yergler nathan at yergler.net
Wed Mar 10 12:38:21 EST 2004


I was looking at the jobboard demo to refamiliarize myself with Zope3 
and found that there were a couple of problems getting a recent (this 
morning) checkout of Zope3 to start with jobboard's configure.zcml 
included.  I fixed a couple of problems but there's one I haven't been 
able to track down; I'm sure it's simple, just looking for some 
direction.  In configure.zcml (in CVS), the content class is defined as 
follows:

<content class="zopeproducts.demo.jobboard.job.JobList">
  <implements 
interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
  />
  <factory
      id="zopeproducts.demo.jobboard.job.JobList"
      title="I18n Job List"
      permission="zope.ManageContent"
      />
  <allow interface=".interfaces.IJobList" />
  <implements interface="zope.app.interfaces.container.IItemContainer" />
</content>
 
When I try to start Zope3, it complains about the permission attribute 
on factory.  If I remove the permission attribute it works fine.  The 
other examples I found also refer to a permission attribute for factory 
elements.  Suggestions?

Also, I fixed another bug in configure.zcml and edit.pt; should I go 
ahead and commit those once I get the permissions problem tracked down, 
or should I send a patch?  Thanks.

Nathan R. Yergler




More information about the Zope3-dev mailing list