Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Dieter Maurer ha escrit: Santi Camps wrote at 2004-10-18 12:37 +0200: ... I have a persistent object A and a non persistent object B. B has implicit acquisition. From trusted code I return B.__of__(A). Trying to access B.meta_type from untrusted code (a ZPT) raises the error.B

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2004, at 4:33 PM, Santi Camps wrote: Yes, meta_type is an attribute of type string, but I don't understand your reasons. Acquisition, obviously, is not implemented in strings, but if the object containing meta_type attribute inherits from

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Richard Jones ha escrit: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2004, at 4:33 PM, Santi Camps wrote: Yes, meta_type is an attribute of type string, but I don't understand your reasons. Acquisition, obviously, is not implemented in strings, but if the object containing

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Santi Camps ha escrit: En/na Richard Jones ha escrit: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2004, at 4:33 PM, Santi Camps wrote: Yes, meta_type is an attribute of type string, but I don't understand your reasons. Acquisition, obviously, is not implemented in strings, but

[Zope-dev] Re: 2.7.3 beta attribute permission problems

2004-10-19 Thread Tres Seaver
Santi Camps wrote: Here you are a test case for that problem. It's a very simple case of what my framework does. How to proceed: 1) Install the product in a Zope 2.7.3 beta 2) Add an instance of meta type AccessControl Test 3) Try http://localhost:8080/AccessControlTest/get_sum_of_values. It

Re: [Zope-dev] RE: Re: svn vs. cvs (some documentation)

2004-10-19 Thread Jim Fulton
Tres Seaver wrote: Jim Fulton wrote: 3. Up to this point, we haven't had to be careful about managing bugfixes across multiple releases. Sure we have. We've had a release branch for some time. Perhaps I should add: The complaint you made earlier today (about bugs fixed on the head, but

[Zope-dev] session error

2004-10-19 Thread Gerry Kirk
A user got this error trying to edit content. It only happened once, and on second try she was ok. Using Zope 2.7.0: Traceback (innermost last): Module ZPublisher.Publish, line 100, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Dieter Maurer
Santi Camps wrote at 2004-10-19 15:05 +0200: ... Error Type: Unauthorized* *Error Value: The container has no security assertions. Access to 'get_sum_of_values' of (Adapter instance at 40ae6ac0) denied.* This tells you that the container containing get_sum_of_values does not have security

Re: [Zope-dev] RE: Re: svn vs. cvs (some documentation)

2004-10-19 Thread Tres Seaver
Jim Fulton wrote: Tres Seaver wrote: Jim Fulton wrote: 3. Up to this point, we haven't had to be careful about managing bugfixes across multiple releases. Sure we have. We've had a release branch for some time. Perhaps I should add: The complaint you made earlier today (about bugs fixed

Re: [Zope-dev] RE: Re: svn vs. cvs (some documentation)

2004-10-19 Thread Jim Fulton
Tres Seaver wrote: ... Another reason for an activity branch: the work is experimental, and may never be merged; putting on a branch lets others evaluate it without risking stability. Agreed. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540)

[Zope-dev] Re: 2.7.3 beta attribute permission problems

2004-10-19 Thread Tres Seaver
Dieter Maurer wrote: Santi Camps wrote at 2004-10-19 15:05 +0200: ... Error Type: Unauthorized* *Error Value: The container has no security assertions. Access to 'get_sum_of_values' of (Adapter instance at 40ae6ac0) denied.* This tells you that the container containing get_sum_of_values does not

Re: [Zope-dev] session error

2004-10-19 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Oct 2004 04:23 am, Gerry Kirk wrote: A user got this error trying to edit content. It only happened once, and on second try she was ok. Using Zope 2.7.0: 2.7.3 (currently beta, but live on our production server) fixes errors of this

Re: [Zope-dev] session error

2004-10-19 Thread Andreas Jung
--On Mittwoch, 20. Oktober 2004 12:10 Uhr +1000 Richard Jones [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Oct 2004 04:23 am, Gerry Kirk wrote: A user got this error trying to edit content. It only happened once, and on second try she was ok. Using Zope

[Zope-dev] Re: 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Tres Seaver ha escrit: Dieter Maurer wrote: Santi Camps wrote at 2004-10-19 15:05 +0200: ... Error Type: Unauthorized* *Error Value: The container has no security assertions. Access to 'get_sum_of_values' of (Adapter instance at 40ae6ac0) denied.* This tells you that the container