Re: [Zope-CMF] Re: Skinnable bare except

2005-04-23 Thread Stefan H. Holek
Talking of 1.4.9, anybody opposed to changing the CEILING_DATE of DefaultDublinCoreImpl to something that would fit into a DateIndex? Stefan On 22. Apr 2005, at 17:42, Tres Seaver wrote: +1. Please check in wherever appropriate. BTW, did you finish the set of changes which missed going in to 1.

Re: [Zope-CMF] Subversion?

2005-05-04 Thread Stefan H. Holek
+1 here Once you start working with svn you will quickly realize how annoying cvs can be, Jens ;-) Stefan On 3. Mai 2005, at 19:20, Jens Vagelpohl wrote: On May 3, 2005, at 4:28 , Florent Guillaume wrote: How about migrating CMF to subversion too? I'd say, 1.5 and HEAD. To be honest, I don't see

Re: [Zope-CMF] Problem in TypesTool with CMF1.5.1 and Zope2.8

2005-06-13 Thread Stefan H. Holek
I get a whole bunch of Unauthorized errors when running CMF-1_5- branch tests with Zope 2.8. Interestingly, CMF HEAD does not appear to suffer from the same... Stefan == ERROR: test_CopyPasteSetsOwnership (CMFCore.tests.te

Re: [Zope-CMF] Re: Problem in TypesTool with CMF1.5.1 and Zope2.8

2005-06-13 Thread Stefan H. Holek
Alright, this particular instance contained VerboseSecurity, which doesn't seem to work with 2.8. Bummer. Stefan On 13. Jun 2005, at 13:08, yuppie wrote: FYI: I can't reproduce this error. All tests pass for me using latest CMF-1_5-branch and Zope 2.8.0 final. -- Software Engineering is

[Zope-CMF] Re: [CMF-checkins] CVS: Products/CMFCore - ActionInformation.py:1.26.2.5

2005-07-16 Thread Stefan H. Holek
tp://plone.org/collector/3155 Stefan On 16. Jul 2005, at 14:20, Jens Vagelpohl wrote: On 16 Jul 2005, at 14:15, Stefan H. Holek wrote: Update of /cvs-repository/Products/CMFCore In directory cvs.zope.org:/tmp/cvs-serv12386/CMFCore Modified Files: Tag: CMF-1_5-branch ActionInform

[Zope-CMF] Re: [Plone-developers] Re: How many copies of plone are in memory?

2005-07-28 Thread Stefan H. Holek
Dylan, This is how Zope works. You get one copy of every object per thread, and - for skin objects - per CMF/Plone instance. This has always been the case, so please excuse the lack of enthusiasm :-). Additionally, nobody ever claimed that you could run Zope/Plone off your average hosting

Re: [Zope-CMF] CMF 1.5.3 beta?

2005-08-01 Thread Stefan H. Holek
On 1. Aug 2005, at 16:24, Jens Vagelpohl wrote: If we have a go for the beta I suggest cutting the tag and publishing the release tomorrow morning, about 9am british time. That way zope.org won't have traffic from the Americas, making it marginally more responsive ;) Great, thanks! I am

Re: [Zope-CMF] CMF 1.5.4-beta

2005-08-28 Thread Stefan H. Holek
Thank you Jens, I share your sentiments. ;-) Stefan On 28. Aug 2005, at 10:45, Jens Vagelpohl wrote: So hopefully this is the last pre-Plone 2.1 release. -- Anything that happens, happens. --Douglas Adams ___ Zope-CMF maillist - Zope-CMF@list

[Zope-CMF] Re: [CMF-checkins] SVN: CMF/branches/1.4/ Backported several hand-picked fixes from CMF 1.5 branch, most of them

2005-09-03 Thread Stefan H. Holek
I get a traceback now from Guard.py exceptions.NameError: global name 'r' is not defined [snip] File "/autotest/temp/python21-zope26-cmf14-plone20/Products/ CMFCore/WorkflowTool.py", line 119, in manage_addWorkflow ob = factory(id) File "/autotest/temp/python21-zope26-cmf14-plone20/Pr

Re: [Zope-CMF] Re: CachingPolicyManager improvements

2005-09-09 Thread Stefan H. Holek
This is correct for the default configuration. I deemed CMF site creation fast enough at that time. In PloneTestCase, for example, we instantiate a single portal at import time and reuse it for every test. In the end it is a simple matter of overriding getPortal (which is a hook that exists

Re: [Zope-CMF] Re: CachingPolicyManager improvements

2005-09-09 Thread Stefan H. Holek
PortalTestCase is actually only intended as a base class for CMFTestCase/PloneTestCase/CPSTestCase/whatever, not for direct use. It provides some default behavior, because, for example, the requirement to refresh the skin cache is pretty hard to figure out. The ZopeTestCase philosophy is ab

Re: [Zope-CMF] Re: CachingPolicyManager improvements

2005-09-09 Thread Stefan H. Holek
Well, actually it is not correct ;-). PortalTestCase does *not* provide a portal object but expects subclasses to take care of that part of the fixture. Stefan On 9. Sep 2005, at 10:34, Stefan H. Holek wrote: This is correct for the default configuration. -- Anything that happens

[Zope-CMF] Re: CachingPolicyManager improvements

2005-09-09 Thread Stefan H. Holek
Well, you are supposed to use a subclass anyway, and in that subclass you can fix everything, even _refreshSkinData. Maybe I should make PortalTestCase truly abstract to emphasize the point. NotImplementedError anyone? :-) Stefan On 9. Sep 2005, at 11:54, yuppie wrote: That's great, but

[Zope-CMF] Re: CMFTestCase: Best way to create the CMF site?

2005-10-04 Thread Stefan H. Holek
I see two options: a) Use a different portal name portal_name = 'mysite' CMFTestCase.setupCMFSite(portal_name) b) Use getPortal() to create a new portal per test def getPortal(self): manage_addCMFSite(self.app, portal_name) return getattr(self.app, portal_name) Ste

Re: [Zope-CMF] Re: CMFTestCase: Best way to create the CMF site?

2005-10-05 Thread Stefan H. Holek
Oh, setupCMFSite is sufficiently clever, it's the CMF tests that aren't ;-) Stefan On 5. Okt 2005, at 10:45, Chris Withers wrote: Stefan H. Holek wrote: I see two options: a) Use a different portal name portal_name = 'mysite' CMFTestCase.setupCMFSite

[Zope-CMF] Re: Testing skin scripts and templates using ZopeTestCase.Functional

2005-10-05 Thread Stefan H. Holek
On 5. Okt 2005, at 23:27, Paul Winkler wrote: I'm trying to use CMFTestCase along with ZopeTestCase.Functional to test my skin scripts. But how do I get them set up properly? Anybody have working examples of this? I wondered if there might be some in the Plone test suites but if so I didn't fi

Re: [Zope-CMF] Re: CMFTestCase: Best way to create the CMF site?

2005-10-07 Thread Stefan H. Holek
Exactly! ZopeTestCase (CMFTestCase, PloneTestCase) was designed for testing *applications*. As you say, when I write a CMF application I should be able to assume the CMF below works. In this case a "fat fixture" makes perfect sense (to me). Also, I firmly believe application developers sh

[Zope-CMF] Re: [CMF-checkins] SVN: CMF/branches/1.5/C CMFSetup: added support for configuring content type registry.

2005-10-14 Thread Stefan H. Holek
Right, so at what point is the content-type-registry supposed to be added now? Plone Site creation breaks after this checkin with: File "/Users/zope/plonehd/Products/CMFCore/utils.py", line 83, in getToolByName raise AttributeError, name AttributeError: content_type_registry Thanks, S

[Zope-CMF] Interested in nightly CMF test results?

2006-01-19 Thread Stefan H. Holek
Is there interest on this list to receive nightly test results for CMF? I am running nightlies for Zope (reporting to [EMAIL PROTECTED] and aggregated by Steve Alexander's summarizer). I am also running nightlies for CMF, with reports only going to myself at the moment. It would cause little e

[Zope-CMF] GenericSetup Python 2.4 only?

2006-02-15 Thread Stefan H. Holek
The use of "sorted" makes GS only work with Python 2.4. Intentional? Stefan -- Anything that happens, happens. --Douglas Adams ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http

[Zope-CMF] Re: Python warnings behavior and stacklevel=2

2006-02-16 Thread Stefan H. Holek
This turned out to be a bug in FSPythonScripts (no __file__ in script globals). Fixed on all branches of CMF >= 1.5. Cheers, Stefan On 13. Feb 2006, at 16:48, Julien Anguenot wrote: Florent Guillaume wrote: Julien Anguenot wrote: Tim Peters wrote: [Julien Anguenot] I'm having some probl

Re: [Zope-CMF] CachingPolicyManager and Image/File content

2006-04-05 Thread Stefan H. Holek
I have it working fine using the PolicyHTTPCacheManager from CacheFu. http://dev.plone.org/collective/browser/CacheFu/trunk/ PolicyHTTPCacheManager Stefan On 5. Apr 2006, at 15:19, Bert Vanderbauwhede wrote: Hi, I'm currently setting up a CMF site for testing purposes. While configuring t

Re: [Zope-CMF] CMF 2 test errors against zope 2.9 branch and trunk

2006-04-07 Thread Stefan H. Holek
FWIW I always get this one with 2.9. Didn't investigate further. Error in test test_reindexObjectSecurity_missing_noraise (CMFCore.tests.test_CMFCatalogAware.CMFCatalogAwareTests) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run

Re: [Zope-CMF] Re: CMF roadmap update

2006-04-26 Thread Stefan H . Holek
I am using it rather heavily. The "overengineery" impression comes from the fact that it is intended to be highly pluggable (CMF-style, i.e. by replacing tools). For example I always replace the generator with something more robust than a simple counter. Using it is straight forward, you ju

Re: [Zope-CMF] Re: Abusing GenericSetup during traditional installs

2006-08-16 Thread Stefan H. Holek
Talking about abuse... For the UnicodeLexicon product I have created a setuphandler that updates ZCTextIndexes in the catalog. This means it basically contains the code that would formerly have lived in Extensions.Install.install. Would this be considered "abuse" of GenericSetup? http://

[Zope-CMF] Re: Abusing GenericSetup during traditional installs

2006-08-16 Thread Stefan H. Holek
On 16. Aug 2006, at 18:18, yuppie wrote: AFAICS the catalog.xml in the profile is a normal catalog setup file. The default import step for this file should be registered and updates the catalog if all steps are run. Yes, the default machinery creates the UnicodeLexicons from catalog.xml

Re: [Zope-CMF] Re: Abusing GenericSetup during traditional installs

2006-08-21 Thread Stefan H. Holek
On 17. Aug 2006, at 15:50, yuppie wrote: My approach would be to improve the catalog adapters. Even if you stick to the behavior implemented in setuphandlers.py it would have been easier and more straight forward to implement it in a subclass of ZCatalogXMLAdapter, overriding the default ad

[Zope-CMF] CMFCatalogAware + container events

2006-08-22 Thread Stefan H. Holek
In the light of Z3 container events existing since Zope 2.9, should CMFCatalogAware still __recurse? I don't think so as ATM this appears to result in multiple calls to indexObject/unindexObject for "sublocations". Stefan -- It doesn't necessarily do it in chronological order, though. -

Re: [Zope-CMF] caching policy manager

2006-09-13 Thread Stefan H. Holek
You don't want to cache views for Files and Images. I use this for "predicate": python: not view and object.portal_type=='File' Stefan On 13. Sep 2006, at 01:30, Dmitry S. Makovey wrote: Playing with CPM I've discovered that if I put a policy like: id: Files Predicate: python:content.por

Re: [Zope-CMF] caching policy manager

2006-09-13 Thread Stefan H. Holek
Oh yes. I always forget that I run PolicyHTTPCacheManager ;-) http://dev.plone.org/collective/browser/CacheFu/trunk/ PolicyHTTPCacheManager Stefan On 13. Sep 2006, at 10:24, Jens Vagelpohl wrote: On 13 Sep 2006, at 10:04, Stefan H. Holek wrote: You don't want to cache views for File

Re: [Zope-CMF] Re: CMF Tests: 12 OK, 1 Failed

2006-10-24 Thread Stefan H . Holek
Tres, I am afraid you seem to be the only one able to verify this. IIRC the security fix is yours as - of course - is CMF. ;-) I am ready to remove irrelevant combinations, but in this case I have been reluctant up to now because of the possible security implications. Stefan On 24. Okt 20

Re: [Zope-CMF] Re: CMF Tests: 3 OK, 2 Failed, 4 Unknown

2006-11-23 Thread Stefan H. Holek
I vote for (at least optional) backward compatibility. See my followup here http://www.zope.org/Collectors/Zope/2191. Stefan On 22. Nov 2006, at 17:40, Dorneles Treméa wrote: I just made a comment on http://www.zope.org/Collectors/Zope/2191. As soon as we get consensus I can proceed with t

Re: [Zope-CMF] Re: SVN: CMF/branches/1.6/ Use GenericSetup 1.2 branch.

2006-11-27 Thread Stefan H. Holek
We use CMF 1.6 branch with GS 1.2 branch in Plone 2.5. This, and itchy fingers, made me update the external. FWIW, when I check out CMF/tags/1.6.2 I expect to get a GS tag as well. When I check out CMF/branches/1.6 I expect to get the HEADs of the respective development branches. Another

[Zope-CMF] Fwd: [Checkins] SVN: CMF/branches/1.6/C CMFCore.DynamicType: Fixed behaviour regarding default view.

2006-12-08 Thread Stefan H. Holek
CMF 1.6 is supposed to work with Zope 2.8. However, either there is no queryDefaultViewName or it lives someplace else... from zope.app.publisher.browser import queryDefaultViewName ImportError: cannot import name queryDefaultViewName Stefan Begin forwarded message: From: Philipp von W

[Zope-CMF] Re: [Checkins] SVN: CMF/trunk/CMFDefault/formlib/widgets.txt - fixed broken __call__() test (my sandbox was not clean)

2006-12-20 Thread Stefan H. Holek
FWIW, this and related test failures are due to xml.sax.saxutils.quoteattr changing behavior in Python 2.4.4. Stefan On 20. Dez 2006, at 10:48, Yvo Schubbe wrote: - disabled hidden() test (no time to track down why this fails in the nightly tests) -- It doesn't necessarily do it in chr

Re: [Zope-CMF] CMF Tests: 9 Failed, 2 Unknown

2007-03-28 Thread Stefan H. Holek
Much fun to be had with daylight-saving, eh? FWIW, I have double-checked the system time, timezone, and locale settings on the machine running the nightlies, and everything appears to be sane. I see the same failure on my Mac, so /me shrugs... Stefan On 28. Mär 2007, at 14:00, CMF Tests S

Re: [Zope-CMF] Re: tools, utilities, and getToolByName

2007-04-23 Thread Stefan H. Holek
On 23. Apr 2007, at 00:47, Alec Mitchell wrote: As far as the vote goes: +1 on undeprecating getToolByName +1 on removing acquisition wrapping from five.lsm and putting it in getToolByName +1 +1 Stefan -- Anything that, in happening, causes itself to happen again, happens again. --Douglas

Re: [Zope-CMF] reindexObject updates modification time?

2007-05-28 Thread Stefan H. Holek
Nope, clearFindAndRebuild uses indexObject, for the very reason not to touch the modification time. And so should you. Stefan On 28. Mai 2007, at 06:57, Darryl Dixon - Winterhouse Consulting wrote: Why is this? It has implications for, eg, the new clearFindAndRebuild() function in Plone'

Re: [Zope-CMF] reindexObject updates modification time?

2007-05-28 Thread Stefan H. Holek
No, it adds more weight to my recommendation to use indexObject :-) Stefan On 28. Mai 2007, at 12:30, Darryl Dixon - Winterhouse Consulting wrote: time...? Which lends even more weight to my original query - why on earth does reindexObject() update the modification time? I can see utterly

Re: [Zope-CMF] Move CMF collector to Launchpad (redux)

2007-10-26 Thread Stefan H. Holek
+1 On 25. Okt 2007, at 12:37, Jens Vagelpohl wrote: Can we have a show of hands, so to speak? -- Anything that, in happening, causes something else to happen, causes something else to happen. --Douglas Adams ___ Zope-CMF maillist - Zope-CMF@lis

Re: [Zope-CMF] which CMF for zope2.12

2009-04-25 Thread Stefan H. Holek
You may want to try CMF.buildout: svn://svn.zope.org/repos/main/CMF.buildout Stefan On 24.04.2009, at 11:54, Michael Haubenwallner wrote: > Just easy_installed the new Zope2.12.a4 release and Products.CMFCore > (2.1.2) ___ Zope-CMF maillist - Zop