[Zope] Catalogaware ZClass
Hello, usually I'm more patient but this time it's a very important feature(I have to build an archive). That's my question from yesterday: --->> I try to delete a Catalogware ZClass with subobjects that are also ZClasses. That's my method to delete a Class: But Zope answers: An exception occurred in a DTML method or document. Error type: BadRequest Error value: 980785769 does not exist But '980785769' EXISTS in the management-interface !! :-(( ---> It would be very nice if someone could give me a hint.Thanks! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Catalogaware ZCLass and deleting
Hello, I try to delete a Catalogware ZClass with subobjects that are also ZClasses. That's my method to delete a Class: -->> But Zope answers: An exception occurred in a DTML method or document. Error type: BadRequest Error value: 980785769 does not exist But '980785769' EXISTS in the management-interface !! :-(( Thanks! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] CatalogAware
Yapo =?ISO-8859-1?Q?S=E9bastien?= writes: > I use objects from a class which inherits from CatalogAware. > The objects index themselves into the ZCatalog but I get strange results = > when I try to search in this ZCatalog... The problem is solved after = > reindexing the object via the reindex_object() method but this works = > only for manage_edit ... I can't index my object properly in the = > manage_add method (I get the same problem) This is a bug, I recently found in "GlobbingLexicon". It may be, too, in a normal "Lexicon". The collector (URL:http://classic.zope.org/Collector) contains a patch for "GlobbingLexicon". The patch is applied in Zope 2.2.1. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] CatalogAware Problems?
Chris Withers wrote: > > > Yapo Sébastien wrote: > > Is there a bug I should be 'awared' to or am I doing something the > > wrong way ? > > Maybe if you said what the bug was and included a traceback, more people > would be able to help? > > Also, posting in HTML means a lot of people can't read what you post... And of those of us who can, many won't. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] CatalogAware Problems?
> Yapo Sébastien wrote: > Is there a bug I should be 'awared' to or am I doing something the > wrong way ? Maybe if you said what the bug was and included a traceback, more people would be able to help? Also, posting in HTML means a lot of people can't read what you post... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] CatalogAware
Hi ! I use objects from a class which inherits from CatalogAware. The objects index themselves into the ZCatalog but I get strange results when I try to search in this ZCatalog... The problem is solved after reindexing the object via the reindex_object() method but this works only for manage_edit ... I can't index my object properly in the manage_add method (I get the same problem) Newly indexed objects seem to be added to the ZCatalog with the indexes from the previous cataloged object (or something like that) Is there a bug I should be 'awared' to or am I doing something the wrong way ? SY
[Zope] catalogAware (so close)
Hi All. My product's catalog is now almost completely functional, only the refrence in the URL is wrong! In my test area, I create a person object, theat ends up here: http://localhost:8080/safezone/F_test/People/testperson/ The catalogAwareness adds the object to the site's catalog as: http://localhost:8080/safezone/F_test/safezone/F_test/People/testperson/ This URL still does display the object if called. Must be some inheritance quirk.?.? Have I done something wrong? Or is catalogAwareness finding something it shouldn't? Thanks for any hints! -ed- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )