Hi,

I'm using obj.getParentNode() to get the parent of an object. 
However, I now read that this function returns obj.aq_parent, and that this is
not guaranteed to always be correct. 
Apparently, the safe way is to use obj.aq_inner.aq_parent.

Is this true? And is obj.aq_inner.aq_parent guaranteed to exist?

Thanks,
Maarten

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

Reply via email to