restrictedTraverse doesn't give the good container.
Hi, Today, I have this situation: Under my root Zope Site, I have this hierachy: - FolderA ---FolderB ----FolderC -----FolderC What is interesting is that a folder named "FolderC" appears under another folder named with the same name. Assuming the path is the good one (path=.../.../FolderB) I try : herenow = context.restrictedTraverse(path+'/FolderC') -> OK herenow = herenow.restrictedTraverse(path+'/FolderC') -> OK Now I just delete the last FolderC, I have: - FolderA ---FolderB ----FolderC I try : herenow = context.restrictedTraverse(path+'/FolderC') -> OK herenow = herenow.restrictedTraverse(path+'/FolderC') -> OK BUT here I'm just not where I think to be, just because of the acquisition !!! I have no time to have a look on this, but anyone have seen this problem and resolved it? Sincerily PS -------------------------------------------------- Oreka ! Nous sommes l'internet moins cher ! Surfez 25% moins cher avec http://www.oreka.com
Please don't cross-post. You already posted this exact question to zope@zope.org, and received two replies to which you did not follow up. On Fri, Feb 13, 2004 at 12:56:13PM +0100, Pascal Samuzeau wrote: (snip)
I have no time to have a look on this, but anyone have seen this problem and resolved it?
Why should we have time to fix your problem when you apparently don't have time to respond to our replies? -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PICO-SLIPPERY EATER! (random hero from isometric.spaceninja.com)
participants (2)
-
Pascal Samuzeau -
Paul Winkler