[Zope-CMF] Is 2.4.0 compatable with CMF 1.1 -- [TypeError: listFolderContents() got an unexpected keyword argument 'filter']

Andrew Sawyers andrew@digicool.com
Mon, 23 Jul 2001 17:32:35 -0400


Norman,
This has been fixed in CVS.  This is due to an argument change in the method
listFolderContents I made last week for the work I was doing to port all the
skins to ZPT.  I forgot to update the dtml skin to support this change.
I'll also likely be posting on this issue in more detail.....
Andrew

> -----Original Message-----
> From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
> Of Norman Khine
> Sent: Monday, July 23, 2001 5:41 PM
> To: Zope-CMF
> Subject: [Zope-CMF] Is 2.4.0 compatable with CMF 1.1 -- [TypeError:
> listFolderContents() got an unexpected keyword argument 'filter']
>
>
> Hi,
> I just got the lates & greatest zope 2.4.0 stable and am trying
> it with CMF
> and the latest checkout. Existing site displays correctly, but
> when I try to
> view the folder contents I get the following error
>
>
> Zope Error
> Zope has encountered an error while publishing this resource.
>
> Error Type: TypeError
> Error Value: listFolderContents() got an unexpected keyword argument
> 'filter'
>
>
> Traceback (innermost last):
>   File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/Publish.py, line
> 223, in publish_module
>   File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/Publish.py, line
> 187, in publish
>   File /usr/home/dsuk5/zope/2-4-0/lib/python/Zope/__init__.py,
> line 226, in
> zpublisher_exception_hook
>     (Object: LockableItem)
>   File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/Publish.py, line
> 171, in publish
>   File
> /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/mapply.py, line 160,
> in mapply
>     (Object: RestrictedDTML)
>   File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/Publish.py, line
> 112, in call_object
>     (Object: RestrictedDTML)
>   File
> /usr/home/dsuk5/zope/2-4-0/lib/python/Products/CMFCore/FSDTMLMetho
> d.py, line
> 182, in __call__
>     (Object: RestrictedDTML)
>   File
> /usr/home/dsuk5/zope/2-4-0/lib/python/DocumentTemplate/DT_String.py,
> line 544, in __call__
>     (Object: RestrictedDTML)
>   File /usr/home/dsuk5/zope/2-4-0/lib/python/DocumentTemplate/DT_Let.py,
> line 148, in render
>     (Object: filterString="REQUEST.get( 'folderfilter', '' )"
>           filter="decodeFolderFilter( filterString )")
>   File
> /usr/home/dsuk5/zope/2-4-0/lib/python/DocumentTemplate/DT_In.py, line
> 512, in renderwb
>     (Object: listFolderContents( filter=filter ))
>   File /usr/home/dsuk5/zope/2-4-0/lib/python/DocumentTemplate/DT_Util.py,
> line 230, in eval
>     (Object: listFolderContents( filter=filter ))
>     (Info: filter)
>   File <string>, line 2, in f
> TypeError: (see above)
>
> Apart from that the site runs OK
>
> regards
>
> Norman
>
> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
> zz/********/z/****\zzz|****\*\zz|*******|z
> z/^^^^^^^^/z/******\zz|*^^^^|*|z|*|^^^^^|z norman khine
> zzzzzz/**/z|**/^^\**|z|*|zzz|*|z|*|zzzzzzz mailto:norman@khine.net
> zzzzz/**/zz|*|zzzz|*|z|****/*/zz|*****|zzz purley
> z/******/zz|*|zzzz|*|z|*|^^zzzzz|*|^^^|zzz UK
> zzZ/**/zzzz|**\^^/**|z|*|zzzzzzz|*|zzzzzzz
> zz/******/zz\******/zz|*|zzzzzzz|*|*****|z
> z/^^^^^^/zzzz\^^^^/zzz|^|zzzzzzz|^^^^^^^|z
> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and
> feature requests
>