[Zope-CMF] object does not support item deletion

Chris McDonough chrism@digicool.com
Wed, 18 Apr 2001 23:48:44 -0400


Here's a patch to fix this:

*** Catalog.py	2001/04/17 17:01:04	1.60.2.10
--- Catalog.py	2001/04/19 03:43:23
***************
*** 635,646 ****
          # Compute "sort_index", which is a sort index, or none:
          if kw.has_key('sort-on'):
              sort_index=kw['sort-on']
-             del kw['sort-on']
          elif hasattr(self, 'sort-on'):
              sort_index=getattr(self, 'sort-on')
          elif kw.has_key('sort_on'):
              sort_index=kw['sort_on']
-             del kw['sort_on']
          else: sort_index=None
          sort_order=''
          if sort_index is not None:
--- 635,644 ----

This patch will be present in the final release version of 2.3.2

Loren Stafford wrote:
> 
> I put it in the Collector:
> 
> "Catalog error on new CMF install on Zope 2.3.2b1" has been submitted.
> 
> For future reference, the issue number is: 2172
> 
> -- Loren
> 
> > -----Original Message-----
> > From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
> > Of Chris Withers
> > Sent: Wednesday, April 18, 2001 14:03
> > To: marc lindahl; Zope-CMF@zope.org
> > Subject: Re: [Zope-CMF] object does not support item deletion
> >
> >
> > > I got that too...
> > > I think it was updating from 2.3.1 to 2.3.2b1, I'm trying to figure it
> > out.
> > > It was working under 2.3.1, and then it wasn't... :(
> >
> > Can you stick it in the Zope collector?
> > It sounds like the fun Chris M is having with ZCatalog isn't over yet :-S
> >
> > cheers,
> >
> > Chris
> >
> >
> > _______________________________________________
> > 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
> >
> 
> _______________________________________________
> 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