Re: [Zope-dev] Re: [Plone-developers] Re: Five and 2.9

2004-06-19 Thread Martijn Faassen
Jim Fulton wrote:
Can we please stop using this name in writing?  It is funny, but not very
reassuring to outsiders. :)
What do we call this project then? :)
The Project-that-shall-not-be-named!
Regards,
Martijn
___
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 )


[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-19 Thread Casey Duncan
getObject was refactored recently and its security was increased. It
uses restrictedTraverse() now, which means that you need access to all
of the enclosing folders as well as the object. Before, no security
checking was performed by getObject.

I suspect you do not have access to one of the containing folders.

-Casey

On Wed, 16 Jun 2004 11:16:55 +0200
Eric Brun [EMAIL PROTECTED] wrote:

 
 
 Hi,
 
 I have a problem with 'getObject' method of CatalogBrains class on
 Zope271b1 : it's return None. But with a Zope2.7.0 my object is
 correctly find and returned. The permissions are right.
 
 is there any bug here ?
 
 Thanks
 
 
 Eric Brun
 Ingénieur de développement
 [EMAIL PROTECTED]
 
 Pentila
 Bâtiment Euclide
 73370 Le Bourget du Lac
 Savoie Technolac
 http://www.pentila.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 )
 


___
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: Re: [Zope-dev] CatalogBrains since Zope2.7.1b1

2004-06-19 Thread Eric Brun


My object really exist and I check the getPath path : it's a correct path.

When I use CatalogBrains.py of Zope2.7.0 on a Zope2.7.1b1,
my object is correctly returned. The changes in the version of CatalogBrains.py in 
Zope2.7.1b1 can't find my existing object with a good path. I think there is a problem 
here. 

I just alert a potential bug for the zope-dev community.

Sorry for my english

thanks for your answers

 Eric Brun wrote at 2004-6-16 11:16 +0200:
 I have a problem with 'getObject' method of CatalogBrains class on Zope271b1 : 
 it's return None. But with a Zope2.7.0
 my object is correctly find and returned. The permissions are right.
 
 is there any bug here ?
 
 They return None when the object no longer exists.
 
 Check the path (getPath method) and verify whether the object
 exists.
 
 -- 
 Dieter
 


Eric Brun
Ingénieur de développement
[EMAIL PROTECTED]

Pentila
Bâtiment Euclide
73370 Le Bourget du Lac
Savoie Technolac
http://www.pentila.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: Re: [Zope-dev] CatalogBrains since Zope2.7.1b1

2004-06-19 Thread Andreas Jung

--On Donnerstag, 17. Juni 2004 11:32 Uhr +0200 Eric Brun 
[EMAIL PROTECTED] wrote:


My object really exist and I check the getPath path : it's a correct path.
When I use CatalogBrains.py of Zope2.7.0 on a Zope2.7.1b1,
my object is correctly returned. The changes in the version of
CatalogBrain= s.py in Zope2.7.1b1 can't find my existing object with a
good path. I think=  there is a problem here. =
I just alert a potential bug for the zope-dev community.
I would really appreciate if you could provide a reproducable testcase. 
Otherwise
it is unlikely that this will be fixed (for 2.7.1 final). Guessing is one 
thing, providing
reasonable evidence is another thing. As Zope 2.7 release manager I am 
interested to
have such bugs fixed *but*  I don't have time to figure out for *you* what 
might be the
problem on *your* system.

Thanks for your cooperation,
Andreas
___
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 )