[Zope-CMF] Adapterizing CMFCore.WorkflowTool redux

2010-09-23 Thread Laurence Rowe
Some time ago I made a branch to adapterize workflow storage lookups (then forgot about it): http://www.mail-archive.com/zope-...@lists.zope.org/msg04888.html I've updated that to the current trunk and the result is here:

Re: [Zope-CMF] Adapterizing CMFCore.WorkflowTool redux

2010-09-27 Thread Laurence Rowe
On 25 September 2010 16:26, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Am 24.09.2010, 00:18 Uhr, schrieb Laurence Rowe l...@lrowe.co.uk: If there are no objections I shall merge the changes back to trunk. +1 from me. Please update changes.txt  From your original post: * I

Re: [Zope-CMF] Adapterizing CMFCore.WorkflowTool redux

2010-10-19 Thread Laurence Rowe
On 27 September 2010 19:33, Laurence Rowe l...@lrowe.co.uk wrote: On 25 September 2010 16:26, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Am 24.09.2010, 00:18 Uhr, schrieb Laurence Rowe l...@lrowe.co.uk: If there are no objections I shall merge the changes back to trunk. +1 from

[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

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

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

[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] [dev] CatalogTool as utility

2011-09-21 Thread Laurence Rowe
On 21 September 2011 13:19, Hanno Schlichting ha...@hannosch.eu wrote: On Wed, Sep 21, 2011 at 1:57 PM, yuppie y.2...@wcm-solutions.de wrote: I plan to use zope.globalrequest as fallback if self.REQUEST is not available. What's the best approach for the five.globalrequest dependency? Just use

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 16:26, yuppie y.2...@wcm-solutions.de wrote: Hi! Laurence Rowe wrote: Precisely because CMF 2.3 targets Zope 2.13 - persistent local utilities returned by getUtility lack any sort of acquisition context in Zope2, so the result of getUtility(ISiteRoot) will return

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

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

2012-09-05 Thread Laurence Rowe
On 5 September 2012 19:21, Laurence Rowe l...@lrowe.co.uk wrote: 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

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: