[Zope3-dev] ContextAware gone, xmldom broken

Steve Alexander steve@cat-box.net
Sat, 07 Jun 2003 19:57:01 +0300


Martijn Faassen wrote:
> Hi there,
> 
> I just checked in xmldom, and it worked when I checked it in, but then
> Steve comes around and removes ContextAware, which I was using, and now
> it's broken -- none of the 800+ unit tests will run. :)
> 
> What do I do to make it work again?

Ok, I've looked at your code.

I can make it work by inserting bazillions of

   _get_foo = ContextMethod(_get_foo)

statements into the code.

However, the code makes extensive use of context awareness.
I'll write a new ContextAware base class for you.

--
Steve Alexander