[Grok-dev] Re: local roles and REST

Philipp von Weitershausen philipp at weitershausen.de
Fri May 16 15:06:35 EDT 2008


Martijn Faassen wrote:
> Philipp von Weitershausen wrote:
> [snip]
>> Looking at how grok.REST is implemented (see components.py), it 
>> exactly fails to set __parent__ in its __init__. What it should do is:
>>
>>   self.context = self.__parent__ = context
> 
> Thanks for looking into this. I also suspected it was a missing 
> __parent__ reference somewhere. But Whit still needs to produce a 
> failing test case so we can go and fix this. :)

It actually wasn't that hard to come up with that failing test case, so 
I went ahead and fixed it on the trunk and the 0.12 branch.


P.S.: Do we still support the 0.11 branch? I didn't merge the fix there, 
having made the assumption that there won't be any 0.11.x releases... Right?



More information about the Grok-dev mailing list