[Zope3-Users] sqlos - getting factory of NoneType

Vetlugin Yury vyv at euroholding.ru
Sat Oct 22 10:26:27 EDT 2005


Hi guys,
I`m using sqlos trunk. Saying simply it allow me to use RDB tables as an zope 
objects. It look nice, i can see objects (rows in RDB table), can edit them 
and even delete them. 

But when I`m trying to add an 

<browser:addMenuItem
    class="test.main.Person"
    title="Person"
    description="Person objects"
    view="addperson.html"
    permission="zope.ManageContent"
    />

tag to my configure.zcml - zapi.getFactories() returns me factory of NoneType 
(with name something like "BrowserAdd__test.main.Person"

Without mentioned addMenuItem tag - everything is OK.

So, the question is - how can i define "proper" factory?


More information about the Zope3-users mailing list