[Zope] zope backward compatibility policy?

2005-06-13 Thread gabor
hi, what's the backward compatibility policy of zope? i'm asking because while upgrading from 2.6.4 to 2.7.2 we had some problems. simple ones (like the 'lines' property type seems to have changed from list to tuple), but still problems. i checked the changelogs, and this change does not see

Re: [Zope] zope backward compatibility policy?

2005-06-13 Thread Andreas Jung
--On 13. Juni 2005 09:47:33 +0200 gabor <[EMAIL PROTECTED]> wrote: hi, what's the backward compatibility policy of zope? i'm asking because while upgrading from 2.6.4 to 2.7.2 we had some problems. simple ones (like the 'lines' property type seems to have changed from list to tuple), but sti

Re: [Zope] zope backward compatibility policy?

2005-06-13 Thread Andreas Jung
--On 13. Juni 2005 09:47:33 +0200 gabor <[EMAIL PROTECTED]> wrote: hi, what's the backward compatibility policy of zope? i'm asking because while upgrading from 2.6.4 to 2.7.2 we had some problems. simple ones (like the 'lines' property type seems to have changed from list to tuple), but sti

[Zope] Zope 2.8.0 monkey patch issue

2005-06-13 Thread Pascal Peregrina
Hi, I am trying to migrate from Zope 2.7.6 to 2.8.0 In some product I did, I need to monkey patch some OFS and CMF classes (I do this in product init). I get this error whenever I try to do .__dict__[]= : TypeError: object does not support item assignment This was working fine in Zope 2.7.x An

Re: [Zope] zope backward compatibility policy?

2005-06-13 Thread gabor
Andreas Jung wrote: --On 13. Juni 2005 09:47:33 +0200 gabor <[EMAIL PROTECTED]> wrote: hi, what's the backward compatibility policy of zope? i'm asking because while upgrading from 2.6.4 to 2.7.2 we had some problems. simple ones (like the 'lines' property type seems to have changed from li

Re: [Zope] Zope 2.8.0 monkey patch issue

2005-06-13 Thread Bernd Dorn
Pascal Peregrina wrote: Hi, I am trying to migrate from Zope 2.7.6 to 2.8.0 In some product I did, I need to monkey patch some OFS and CMF classes (I do this in product init). I get this error whenever I try to do .__dict__[]= : TypeError: object does not support item assignment 'got the sam

Re: [Zope] Zope 2.8.0 monkey patch issue

2005-06-13 Thread Tino Wildenhain
Am Montag, den 13.06.2005, 12:26 +0200 schrieb Bernd Dorn: > Pascal Peregrina wrote: > > Hi, > > > > I am trying to migrate from Zope 2.7.6 to 2.8.0 > > > > In some product I did, I need to monkey patch some OFS and CMF classes (I do > > this in product init). > > > > I get this error whenever I

RE: [Zope] Zope 2.8.0 monkey patch issue

2005-06-13 Thread Pascal Peregrina
Thanks, that works ! Pascal -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Bernd Dorn Envoyé : lundi 13 juin 2005 12:26 À : 'zope@zope.org' Objet : Re: [Zope] Zope 2.8.0 monkey patch issue Pascal Peregrina wrote: > Hi, > > I am trying to migrate from Zo

[Zope] Problem with manage_FTP...

2005-06-13 Thread Thierry FLORAC
Hi, I'm actually building with Zope (2.7.6) , through the development of a custom product, a small file server, available through FTP, HTTP or WebDAV with access controlled by an LDAP server (with LDAPUserFolder). Everything works fine with every protocol concerning access rights. The only th

[Zope] ACTUAL_URL vs. VIRTUAL_URL

2005-06-13 Thread Bert Vanderbauwhede
Hi, What's the difference between ACTUAL_URL and VIRTUAL_URL in the REQUEST object? Bert... ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/

[Zope] DiskBased products and security

2005-06-13 Thread Haim Ashkenazi
Hi I'm following the example of "The Zope Bible" on how to create disk based products. after adding the imports, 'InitializeClass(class)' statement and the 'security = ClassSecurityInfo()' statement he recommends two other statements: 1. __roles__ = () - I didn't understand exactly why but with

Re: [Zope] zope backward compatibility policy?

2005-06-13 Thread Paul Winkler
On Mon, Jun 13, 2005 at 10:58:25AM +0200, gabor wrote: > i see.. > thanks a lot... > > it's just that this is documented in the 'bugfix' part. > > i didn't expect bugfixes to change the api But you should expect bugfixes to change implementation details, which is what this is :-) If you rea

Re: [Zope] ACTUAL_URL vs. VIRTUAL_URL

2005-06-13 Thread Paul Winkler
On Mon, Jun 13, 2005 at 02:37:44PM +0200, Bert Vanderbauwhede wrote: > Hi, > > What's the difference between ACTUAL_URL and VIRTUAL_URL in the REQUEST > object? VIRTUAL_URL only appears in the REQUEST when VirtualHostMonster does its thing. So if you are not using virtual-hosting, VIRTUAL_URL do

Re: [Zope] Product architecture question (long)

2005-06-13 Thread Nikko Wolf
Dieter Maurer wrote: Nikko Wolf wrote at 2005-6-7 14:25 -0600: ... - The primary purpose for the site's existence is to manage some content files (text/ml) and allow a workflow process on those. The workflow will likely change and hopefully will have minimal programming chang

Re: [Zope] ACTUAL_URL vs. VIRTUAL_URL

2005-06-13 Thread Dieter Maurer
Paul Winkler wrote at 2005-6-13 10:27 -0400: > ... >Having said that, I'm not clear on the difference between >ACTUAL_URL and URL :-) "URL" is in fact computed. Thus, it can be both shorter (e.g. in case of a PythonScript with active "traverse_subpath"), longer (e.g. in case of ":{method|action}

Re: [Zope] Problem with manage_FTP...

2005-06-13 Thread Dieter Maurer
Thierry FLORAC wrote at 2005-6-13 13:24 +0200: > ... >The only thing that I don't manage to do is, in FTP or WebDAV, to >restrict a user view (a directory listing) to the only files that he can >effectively download (for these files, they can be effectively >downloaded, but they are actually seen i

Re: [Zope] DiskBased products and security

2005-06-13 Thread Dieter Maurer
Haim Ashkenazi wrote at 2005-6-13 15:43 +0300: > ... >1. __roles__ = () - I didn't understand exactly why but with this >statement I can't access the product either from the ZMI or directly from >the web. This is a (deprecated) alternative for "security.declareObjectPrivate()". >2. security.setDe

[Zope] Zope quotes cookie values...

2005-06-13 Thread Oscar Figueiredo
Hello, I wonder why ZPublisher/HTTPResponse.py adds double quotes to cookie values when creating the Set-Cookie HTTP header (see function _cookie_list) ? Browsers (Firefox at least) seem to consider these quotes as part of the value which can be problematic. Recently I had to patch HTTPResponse.

[Zope] Re: DiskBased products and security

2005-06-13 Thread Haim Ashkenazi
On Mon, 13 Jun 2005 19:13:14 +0200, Dieter Maurer wrote: > Haim Ashkenazi wrote at 2005-6-13 15:43 +0300: >> ... >>1. __roles__ = () - I didn't understand exactly why but with this >>statement I can't access the product either from the ZMI or directly from >>the web. > > This is a (deprecated) al

Re: [Zope] ACTUAL_URL vs. VIRTUAL_URL

2005-06-13 Thread Paul Winkler
On Mon, Jun 13, 2005 at 07:15:45PM +0200, Dieter Maurer wrote: > Paul Winkler wrote at 2005-6-13 10:27 -0400: > > ... > >Having said that, I'm not clear on the difference between > >ACTUAL_URL and URL :-) > > "URL" is in fact computed. > > Thus, it can be both shorter (e.g. in case of a PythonSc

[Zope] Re: DiskBased products and security

2005-06-13 Thread Haim Ashkenazi
On Mon, 13 Jun 2005 21:07:56 +0300, Haim Ashkenazi wrote: > On Mon, 13 Jun 2005 19:13:14 +0200, Dieter Maurer wrote: > >> Haim Ashkenazi wrote at 2005-6-13 15:43 +0300: >>> ... >>>1. __roles__ = () - I didn't understand exactly why but with this >>>statement I can't access the product either from

Re: [Zope] Datetime bug in Zope-2.7.6?

2005-06-13 Thread Luiz Fernando
Dennis Allison escreveu: Zope 2.7.6 Python 2.4.1 (and yes, I know I am jumping the gun a bit) The problem appears to be in the parse component -- Consider a test script: for y in range(1995,2005): for d in (1, 3, 13, 25,): for m in (1,4,5,6,): dd = '%d-%02d-%02d' % (y,