Hi All,

A little gotcha in 2.12 is that, because Versions are now gone, you get 
some weird errors when you try and view the ZMI using an older Data.fs.

The following fixed it for me:

 >>> cp = app.Control_Panel
 >>> cp._objects = tuple([i for i in app._objects if
                          i['id']!='Versions'])
 >>> import transaction
 >>> transaction.get().commit()

Hope this helps!

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to