[Zope-CMF] DirectoryViewSurrogate as context in FSPageTemplates

Charlie Clark charlie.clark at clark-consulting.eu
Sun Jun 27 15:04:46 EDT 2010

Am 27.06.2010, 17:53 Uhr, schrieb Enrique Perez <eperez at yaco.es>:

> (In my thunderbird getting the list from gmane the formatting gets  
> right, but just in case, I attach a diff file).
> I have run the CMFCore tests on a  
> https://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/3.3buildout  
> (not sure if it's the right place to run them) and they give the same  
> results with and without the patch, and commenting out or not the  
> container modification in the patch:

Hi Enrique,

I'm not going to comment on the patch because I personally find the  
context setting for templates a bit of black magic!

Regarding the best way to get a change done:

  * file a bug on launchpad for Products.CMFCore

  * check out Products.CMFCore from the main Zope repository:  

  * write a test for the case

  * patch the source

  * add the patch with the test to the launchpad bug

Recently we've been having regular bug days so there is a good chance that  
the change will be included pretty quickly but I think this is heavily  
dependent upon a test being included.

If I understand you correctly, you want to backport this to CMF 2.2 for  
inclusion in Plone 4?

Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226

More information about the Zope-CMF mailing list