[Zope-dev] Bug in TransparentFolders ???

Shane Hathaway shane@digicool.com
Thu, 05 Jul 2001 15:17:38 -0400


Andre Schubert wrote:
> after searching the soures if found a way the point of disaster.
> in TransparentFolderPatch i changed the line:
> if tpids and not self._v_no_transparent and name[:3] != '_p_' :
> to:
> if tpids and not self._v_no_transparent and name[:3] != '_p_' and
> name[-11:] != '_Permission':
> which means to me the if there is a TransparentFolder then don't acquire
> its Permissions only Acquire its Objects.
> Is this right or did i forgot something???

I see what you're saying.  It really ought to just use "name[:1] != '_'"
to cover all cases.  I've made the change and I'll test it for a few
days then release another version of TF.

Shane