I couldn't find a tracker for ATRest, so hopefully Kapil and friends
read this list.

In ATRest in the __call__ method of XMLContent the parameter passed to
the marshaller is self.context.

This causes problems if the object in question (self.context) has a
computed field that needs to use aq_parent. aq_parent is the
BrowserView subclass in this case. The solution is to pass
self.context.__of__(self.aq_parent).

H

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to