[Zope-dev] restrictedTraverse doesn't give the good container.

2004-02-13 Thread Pascal Samuzeau
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   

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] restrictedTraverse doesn't give the good container.

2004-02-13 Thread Paul Winkler
Please don't cross-post.
You already posted this exact question to [EMAIL PROTECTED],
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)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )