Re: Formulator 1.11.2 ist incompatible with Zope 2.10
Clemens Klein-Robbenhaar <crobbenhaar-S0/[email protected]> Sat, 30 Dec 2006 16:44:43 +0100
| Newsgroups | gmane.comp.web.zope.formulator.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Josef, > I'm not sure if somebody actually reads this list and if this is the > right place to report Formulator bugs. First this is definitely the place to report bugs about Formulator; second someone *should* be reading this list (me for one ... ) Sorry for not responding earlier. (Oh, and I do see Your mail about "Formulator nice-to-have features"; I hope to get through it soon.) > Anyway, Formulator is broken in > zope 2.10 due some class changes between zope 2.8.8 and zope 2.10; [...] I can reproduce the issue without problems. I followed the thread and patched the places which Yinghoong Chan posted there (in a way which keeps backwards compatibility, as You proposed). Indeed there is a problem with the "allow_class(MessageID)" in monkey.py; one cannot just use a similar "allow_class(Message)" for Zope 2.10, as "Message" is a C extension class there. As a workaround one has to allow to import the module it contains. This makes the "MessageFactory" class available too ... which seems useless but not harmfull to me. This change will break all ZODB code importing the (old) MessageID anyway, as soon as running wth Zope 2.10, as they would import the class under its old name. I dont know how a good way to fix this, however. After some testing I have been so bold to check in the changes in the SVN, so I guess people will soon cry out if this breaks something else. Cheers anyway, Clemens