Re: [Zope-CMF] DynamicType.portal_type

2015-03-01 Thread Hanno Schlichting
yuppie y.2015@... writes: yuppie wrote: There is no test that shows what was broken and fixed. AFAICS there is nothing wrong with using None for uninitialized objects. We just have a new requirement in Products.ZCatalog 3: Attributes with None values can no longer be indexed.

Re: [Zope-CMF] cmf-tests -

2013-03-04 Thread Hanno Schlichting
Tres Seaver tseaver@... writes: On 03/04/2013 06:46 AM, Maurits van Rees wrote: If that commit helps, then some test errors will show up in Products.CMFDefault, mostly this: TypeError: Object has default comparison New BTrees expects objects used as keys to have real comparison

Re: [Zope-CMF] cmf-tests -

2013-03-04 Thread Hanno Schlichting
Maurits van Rees m.van.rees@... writes: I have added a missing pin for z3c.recipe.scripts (1.0.1), which should help there. I'm surprised you found that pin missing. I thought I had removed all use of that recipe from the CMF trunk builout, as it isn't compatible with buildout 2 yet. But

Re: [Zope-CMF] cmf-tests -

2013-03-04 Thread Hanno Schlichting
Patrick Gerken patrick.gerken@... writes: are the missing CMF Tests only temporary or is there a need for a new source of test reports?​ I spoke to Stefan Holek and he no longer has the time nor interest to maintain the Zope2 and CMF nightly tests. He's not working on any web based projects

Re: [Zope-CMF] Move to github?

2013-03-04 Thread Hanno Schlichting
yuppie y.2013@... writes: Hanno Schlichting wrote: Does anyone have objections if I ask him to convert the CMF packages? Yes. I have objections. I'd like to keep contributing to CMF. But I'm not going to support GitHub Inc. by using its services. Ok. I thought this might

[Zope-CMF] Move to github?

2013-03-02 Thread Hanno Schlichting
Hi. Stephan Richter has volunteered to do SVN to Github conversions for all Zope projects and has already completed all of Zope 2 core and some actively used projects like five.localsitemanager. Does anyone have objections if I ask him to convert the CMF packages? And if Tres reads this:

Re: [Zope-CMF] [dev] CatalogTool as utility

2011-09-22 Thread Hanno Schlichting
On Thu, Sep 22, 2011 at 3:14 PM, yuppie y.2...@wcm-solutions.de wrote: My checkin for Products.ZCatalog has an optional dependency on five.globalrequest. If five.globalrequest is not installed, Products.ZCatalog behaves exactly as before. I hope we don't need a Products.ZCatalog 2.14 release

Re: [Zope-CMF] [dev] CatalogTool as utility

2011-09-21 Thread Hanno Schlichting
On Tue, Sep 20, 2011 at 12:19 PM, yuppie y.2...@wcm-solutions.de wrote: But an additional ZCatalog branch is an additional maintenance burden. And the required change is small and 100% backwards compatible. The zope.globalrequest dependency could be made optional. Do we really need an extra

Re: [Zope-CMF] [dev] CatalogTool as utility

2011-09-19 Thread Hanno Schlichting
On Mon, Sep 19, 2011 at 11:57 AM, yuppie y.2...@wcm-solutions.de wrote: Is there a Plone branch that is tested against CMF trunk? Their isn't a branch. Plone doesn't follow any moving targets from its lower stack. It always needs someone to sign-up for the job of updating and then dealing with

Re: [Zope-CMF] [dev] CatalogTool as utility

2011-09-19 Thread Hanno Schlichting
On Mon, Sep 19, 2011 at 3:56 PM, yuppie y.2...@wcm-solutions.de wrote: But with zope.globalrequest we can avoid modifying the API. So if it is fine to smuggle a zope.globalrequest dependency in Zope 2.13, that might be the better solution. Or did you mean to use ZCatalog 2.14 only in CMF? I

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

2011-09-12 Thread Hanno Schlichting
On Mon, Sep 12, 2011 at 12:32 PM, yuppie y.2...@wcm-solutions.de wrote: Jens Vagelpohl wrote: On Sep 12, 2011, at 11:52 , yuppie wrote: I propose to use 'five.globalrequest' instead of self.REQUEST inside tools. AFAICS that allows to convert *all* tools into utilities. +1 Why would you want

Re: [Zope-CMF] cmf-tests - OK: 3, UNKNOWN: 1

2011-08-11 Thread Hanno Schlichting
On Sun, Aug 7, 2011 at 5:13 PM, Jens Vagelpohl j...@dataflake.org wrote: After the wrapping, the discussion item has the wrong path. Even though self, the talkback object, has the correct path when calling getPhysicalPath on it. I can't see anything overly stupid in the DiscussionItem code,

Re: [Zope-CMF] cmf-tests - OK: 3, UNKNOWN: 1

2011-08-11 Thread Hanno Schlichting
On Thu, Aug 11, 2011 at 9:31 PM, Jens Vagelpohl j...@dataflake.org wrote: On Aug 11, 2011, at 21:10 , Hanno Schlichting wrote: I tracked this down to a missing aq_inner call in the new getPhysicalPath and fixed that. Thanks for taking the time, Hanno. I wouldn't have been able to figure than

Re: [Zope-CMF] cmf-tests - OK: 3, UNKNOWN: 1

2011-08-07 Thread Hanno Schlichting
On Sun, Aug 7, 2011 at 8:25 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Hanno, have you got any stats on the optimisation? I looked briefly at the changes and I'm not sure if this is really worth it. Nikolay is working on this and some more evil looking patches at

Re: [Zope-CMF] [dev] member data - a small proposal

2011-07-28 Thread Hanno Schlichting
On Thu, Jul 28, 2011 at 1:32 PM, yuppie y.2...@wcm-solutions.de wrote: On CMF trunk I would like to - add 'fullname' to that default list Sounds fine to me. Plone by default has the basic CMF ones, then fullname: property name=fullname type=string/property and eight more. Hanno

Re: [Zope-CMF] cmf-tests - OK: 3, UNKNOWN: 1

2011-07-05 Thread Hanno Schlichting
On Tue, Jul 5, 2011 at 12:44 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Am 05.07.2011, 07:00 Uhr, schrieb CMF tests summarizer nore...@zope.org: [1]    UNKNOWN FAILED (failures=1, errors=4) : CMF-trunk Zope-trunk Python-2.6.6 : Linux        

Re: [Zope-CMF] GenericSetup backport

2011-05-31 Thread Hanno Schlichting
On Tue, May 31, 2011 at 3:15 PM, Godefroid Chapelle got...@bubblenet.be wrote: What I am actually trying to understand is which versions to give to public releases after forking an existing branch. This is what dev releases are for (as you suggested). No. I said this is what private releases

Re: [Zope-CMF] GenericSetup backport

2011-05-26 Thread Hanno Schlichting
On Thu, May 26, 2011 at 4:46 PM, Godefroid Chapelle got...@bubblenet.be wrote: Would anyone see an issue that I release a Products.GenericSetup 1.4.20 (or any other big integer) with ZCA registries ? Smaller 1.4.x numbers could be kept for bug fix releases for CMF 2.1 and Plone 3. That's a

Re: [Zope-CMF] Upgrade steps linked to profiles

2011-05-03 Thread Hanno Schlichting
On Tue, May 3, 2011 at 12:45 AM, Martin Aspeli optilude+li...@gmail.com wrote: Several months ago, I seem to recall a discussion that led me to believe it's now possible to register a GenericSetup upgrade step that runs an extension profile when invoked, instead of having to write a Python

Re: [Zope-CMF] GenericSetup backport

2011-04-26 Thread Hanno Schlichting
On Tue, Apr 26, 2011 at 11:53 AM, Godefroid Chapelle got...@bubblenet.be wrote: I had made changes to GS registries (use ZCA instead of own registries) which got released in 1.6.3. I backported those changes to 1.4.

Re: [Zope-CMF] GenericSetup: Question on StackOverflow

2011-04-09 Thread Hanno Schlichting
On Sat, Apr 9, 2011 at 9:09 AM, Suresh V. suresh...@yahoo.com wrote: http://stackoverflow.com/questions/5603459/genericsetup-what-does-toolset-xml-accomplish-if-toolinit-still-has-to-be-called As Jens pointed out, the CMF developers don't use stackoverflow as a support channel. But your question

Re: [Zope-CMF] GenericSetup: Question on StackOverflow

2011-04-09 Thread Hanno Schlichting
On Sat, Apr 9, 2011 at 11:31 AM, Jens Vagelpohl j...@dataflake.org wrote: IMHO it's not a metter of how popular a given tool is. It's a matter of where the developers/supporters hang out and what channels they use for accepting questions, bug reports or support requests. For the CMF that means

Re: [Zope-CMF] GenericSetup global registries

2011-03-09 Thread Hanno Schlichting
On Wed, Mar 9, 2011 at 3:00 PM, Wichert Akkerman wich...@wiggy.net wrote: You really want to use the ZCA for every occurance of a string-object mapping? Really? As long as Zope doesn't have a central configuration registry like Pyramid has, it unfortunately makes sense. It's massive overkill

Re: [Zope-CMF] SVN: Products.CMFCore/trunk/Products/CMFCore/ Removed os.path.walk call in windows development mode

2011-02-07 Thread Hanno Schlichting
On Mon, Feb 7, 2011 at 2:59 PM, yuppie y.2...@wcm-solutions.de wrote: If someone knows a better way to detect NTFS, please let me know. I looked for better ways, but there's nothing good in default Python or pywin32. The only real approach seems to involve calling the external diskpart command

Re: [Zope-CMF] [Zope-dev] SVN: five.pt/trunk/src/five/pt/ The container should be the Acquisition.aq_parent.

2010-10-24 Thread Hanno Schlichting
On Sun, Oct 24, 2010 at 2:29 PM, Tres Seaver tsea...@palladion.com wrote: 'container' is supposed to be the folder which holds the script / template, not the context.  In a CMF site, that will typically be the site root, given the way items in skin layers appear to be direct attributes of the

Re: [Zope-CMF] Test setup problems with Zope 2.13

2010-07-28 Thread Hanno Schlichting
Morning. On Tue, Jul 27, 2010 at 1:09 PM, yuppie y.2...@wcm-solutions.de wrote: The whole registerPackage concept is a can of worms. We need real ZCML directives for *all* the stuff currently done in initialization functions. And to deprecate the usage of initialize instead of expanding that

Re: [Zope-CMF] CMF Tests: 4 OK

2010-07-25 Thread Hanno Schlichting
Hi Stefan, it looks like we are missing some test runs. Could you have a look and make sure we also run: Trunk with Zope 2.13 svn://svn.zope.org/repos/main/CMF.buildout/trunk CMF 2.2 with Zope 2.13 svn://svn.zope.org/repos/main/CMF.buildout/branches/zope213-cmf22 Thanks, Hanno On Sat, Jul

Re: [Zope-CMF] Test setup problems with Zope 2.13

2010-07-25 Thread Hanno Schlichting
On Sat, Jul 24, 2010 at 3:26 PM, Hanno Schlichting ha...@hannosch.eu wrote: Hhm. This all looks like a can of worms to me. I think I'll still revert my changes for 2.13 and see if I find the proper motivation to fix this for 2.14 instead. I reverted this now and all tests pass again. Both CMF

Re: [Zope-CMF] Test setup problems with Zope 2.13

2010-07-24 Thread Hanno Schlichting
On Thu, Jul 22, 2010 at 2:00 PM, yuppie y.2...@wcm-solutions.de wrote: yuppie wrote: +...@layer.onsetup    def installPackage(name, quiet=0):        '''Installs a registered Python package.''' Oops! For some unknown reason @layer.onsetup was explicitly removed here:

Re: [Zope-CMF] Test setup problems with Zope 2.13

2010-07-11 Thread Hanno Schlichting
Hi Charlie, On Sun, Jul 11, 2010 at 7:31 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: 2010-07-11 19:23:38 ERROR Application Couldn't install BTreeFolder2 Traceback (most recent call last): ...     stat_info = os.stat(path) OSError: [Errno 2] No such file or directory:

Re: [Zope-CMF] Deprecation Error in CMFCalendar's tests

2010-06-26 Thread Hanno Schlichting
On Sat, Jun 26, 2010 at 8:37 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: The only place I've noticed it triggering is the first time login/logout is called. The error is actually raise by App/ClassFactory:

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

2010-05-26 Thread Hanno Schlichting
This looks like its caused by Jens cleanup in Zope2: Error in test test_manage_propertiesForm_allows_adding (Products.CMFCore.tests.test_ActionInformation.ActionTests) Traceback (most recent call last): ... AttributeError: DummyRequest instance has no attribute 'URL1' Hanno On Wed, May 26, 2010

Re: [Zope-CMF] SVN: CMF.buildout/trunk/src/ Don't use http:// externals for CMF externals.

2010-04-01 Thread Hanno Schlichting
On Thu, Apr 1, 2010 at 1:24 PM, yuppie y.2...@wcm-solutions.de wrote: Jens Vagelpohl wrote: Bringing up that question again certainly doesn't do any harm. I personally have no objections to using relative SVN URLs. I don't plan to bring it up again on Zope-dev. I just proposed to make an

Re: [Zope-CMF] SVN: CMF.buildout/trunk/src/ Don't use http:// externals for CMF externals.

2010-04-01 Thread Hanno Schlichting
On Thu, Apr 1, 2010 at 5:39 PM, Tres Seaver tsea...@palladion.com wrote: I'm +0 on making this change:  I don't konw who will be using this buildout via an anonymous HTTP URL, but if everybody working on CMF is alraedy using SVN = 1.5, I can't see any harm in the relative externals. I've gone

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

2010-03-31 Thread Hanno Schlichting
2010/3/31 Tres Seaver tsea...@palladion.com: I believe the root of this problem is that the 'index' and 'versions' bits of a buildout.cfg are effectively Highlanders (there can only be one).  I gave up on trying to get the two, two, two Zopes in one buildout to work, and instead created a

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

2010-03-31 Thread Hanno Schlichting
On Wed, Mar 31, 2010 at 8:33 PM, Tres Seaver tsea...@palladion.com wrote: OK, the change I'm planning on the trunk essentially reverts your last commit (all the extra version pins to make the 'test-zope212' part build), plus deleting the test-zope212 part (see attached patch). Sure. That

Re: [Zope-CMF] [GS] Execution order of steps (import handler executed before tool creation)

2010-01-23 Thread Hanno Schlichting
Hi. 2010/1/23 Andreas Jung li...@zopyx.com: I am currently in trouble with the imports of a particular Plone product (CMFBibliographyAT). I'm pretty sure I've helped Martin to fix this in a branch for CMFBibliographyAT. Martin, did you check in your work from the last Tune-Up? What happened

Re: [Zope-CMF] GenericSetup and PluggableAuthService

2009-12-30 Thread Hanno Schlichting
On Wed, Dec 30, 2009 at 4:19 PM, Jens Vagelpohl j...@dataflake.org wrote: In the debugger I see that the object in question is a absolute_url adapter residing in the base component registry in the site root. IMHO the components exporter should not look at the base registry at all, only a local

Re: [Zope-CMF] [Checkins] SVN: Products.CMFCore/trunk/ - fixed Zope 2.12 compatibility

2009-12-27 Thread Hanno Schlichting
Hi. On Sat, Dec 26, 2009 at 6:25 PM, Yvo Schubbe y.2...@wcm-solutions.de wrote: Log message for revision 107108:  - fixed Zope 2.12 compatibility Just to make this explicit: CMF trunk should continue to run with Zope 2.12 and not only with 2.13, correct? If so, I'll add a second test runner to