Re: [Zope-CMF] Security declarations on adapters

2012-09-06 Thread Laurence Rowe
On 6 September 2012 14:06, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Am 06.09.2012, 13:11 Uhr, schrieb yuppie y.2...@wcm-solutions.de: Good. What is, in your view, missing from a final release? Laurence proposed some changes for the utilities:

Re: [Zope-CMF] [dev] tools as utilities

2012-09-05 Thread Laurence Rowe
On 5 September 2012 11:48, yuppie y.2...@wcm-solutions.de wrote: 2.) Site root lookup: = In several tools we still assume aq_parent(aq_inner(self)) is the portal. Or other code uses the tool as context object, expecting root and request in its acquisition chain. These

Re: [Zope-CMF] [dev] tools as utilities

2012-09-05 Thread Laurence Rowe
On 5 September 2012 13:26, yuppie y.2...@wcm-solutions.de wrote: Hi Laurence! Laurence Rowe wrote: On 5 September 2012 11:48, yuppie y.2012-E2EsyBC0hj3+aS/vkh9...@public.gmane.org wrote: 2.) Site root lookup: = In several tools we still assume aq_parent(aq_inner(self

Re: [Zope-CMF] [dev] tools as utilities

2012-09-05 Thread Laurence Rowe
On 5 September 2012 15:36, yuppie y.2...@wcm-solutions.de wrote: Hi! Laurence Rowe wrote: On 5 September 2012 13:26, yuppie y.2012-E2EsyBC0hj3+aS/vkh9...@public.gmane.org wrote: I don't think relying on getSite() is a good idea. As you mention it doesn't always return the portal object

Re: [Zope-CMF] [dev] tools as utilities

2012-09-05 Thread Laurence Rowe
On 5 September 2012 17:15, yuppie y.2...@wcm-solutions.de wrote: Laurence Rowe wrote: Maybe I'm missing something, but the various methods of IURLTool rely on portal.getPhysicalPath() returning the correct result. Take getRelativeContentPath for example: portal is at /folder/portal content

[Zope-CMF] CMF 2.3 plans?

2011-04-19 Thread Laurence Rowe
Hi, What are the CMF 2.3 release plans? If we wanted to consider this for Plone 4.2 we would need a release fairly soon so we could make the required changes around member handling. Laurence ___ Zope-CMF maillist - Zope-CMF@zope.org

Re: [Zope-CMF] CMF 2.3 plans?

2011-04-19 Thread Laurence Rowe
On 19 April 2011 12:50, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Am 19.04.2011, 13:41 Uhr, schrieb Jens Vagelpohl j...@dataflake.org: Hi Laurence, I could create a first alpha release for the various packages if that helps. For the first beta a.k.a. trunk branch point I need to

Re: [Zope-CMF] GenericSetup global registries

2011-03-09 Thread Laurence Rowe
On 8 March 2011 16:26, Wichert Akkerman wich...@wiggy.net wrote: On 2011-3-8 17:08, Godefroid Chapelle wrote: Hello, GenericSetup has global registries for profiles and steps. They are a PITA when testing. For instance, plone.app.testing has to make a complicated dance to record and

Re: [Zope-CMF] String exceptions

2011-02-25 Thread Laurence Rowe
On 25 February 2011 10:53, Godefroid Chapelle got...@bubblenet.be wrote: Hi, Python2.6 has deprecated string exceptions. However, I find about 15 string exceptions in CMF 2.2 I guess this is just something that was forgotten. Can we consider this as a critical issue for next release ? It

Re: [Zope-CMF] String exceptions

2011-02-25 Thread Laurence Rowe
On 25 February 2011 14:08, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/25/2011 05:53 AM, Godefroid Chapelle wrote: Python2.6 has deprecated string exceptions. However, I find about 15 string exceptions in CMF 2.2 I guess this is just

[Zope-CMF] Removing tools in a GS profile

2010-11-25 Thread Laurence Rowe
I'm trying to create an uninstall (extension) profile for Products.membrane. I've created a toolset.xml like so: tool-setup forbidden tool_id=membrane_tool class=Products.membrane.tools.membrane.MembraneTool/ /tool-setup But on running the profile I get a ValueError: Tool