ZCatalog: Editing Metadata Key Values....
I am in the process of moving a CMFCollectorNG instance from one Plone portal to another. While copying the CollectorNG folder and re-indexing the catalog gets things running, there is a problem with the catalog. It seems that the Issue data is stored as Metadata key/value pairs. During the re-index, that information is lost. I am assuming that the it is placed there via a form submission. But for the life of me I can't figure out how. I have managed to query the information from the old collector catalog....now I just need to know how set those values in the new catalog. If anyone can shed some light on this I would be very grateful... Charlie Jones
On Mon, Jul 07, 2003 at 03:04:25PM -0400, Charlie Jones wrote:
I am in the process of moving a CMFCollectorNG instance from one Plone portal to another. While copying the CollectorNG folder and re-indexing the catalog gets things running, there is a problem with the catalog. It seems that the Issue data is stored as Metadata key/value pairs. During the re-index, that information is lost. I am assuming that the it is placed there via a form submission. But for the life of me I can't figure out how.
Perhaps the 'Update Catalog' function in the Advanced tab of the catalog will rebuild that data for you. Or you might clear the catalog and then use the Find Objects tab to catalog the Issue objects (and whatever else you need to catalog) from scratch. [Warning: above advice from someone who has never used CMFCollectorNG]. -- Fred Yankowski fred@ontosys.com tel: +1.630.879.1312 OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370 www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA
Been there on both of those roads...thanks for the reply though. It seems that the data for the Issues is the metadata in the catalog. Otherwise, doing as you suggested would solve the problem. I think there is a way to set the variables in a form, submit the form to a method and that method updates the metadata. But, I could be in left field on this. I just don't know where to look. charlie ----- Original Message ----- From: "Fred Yankowski" <fred@ontosys.com> Cc: <zope@zope.org> Sent: Monday, July 07, 2003 5:34 PM Subject: Re: [Zope] ZCatalog: Editing Metadata Key Values....
On Mon, Jul 07, 2003 at 03:04:25PM -0400, Charlie Jones wrote:
I am in the process of moving a CMFCollectorNG instance from one Plone portal to another. While copying the CollectorNG folder and re-indexing the catalog gets things running, there is a problem with the catalog. It seems that the Issue data is stored as Metadata key/value pairs. During the re-index, that information is lost. I am assuming that the it is placed there via a form submission. But for the life of me I can't figure out how.
Perhaps the 'Update Catalog' function in the Advanced tab of the catalog will rebuild that data for you. Or you might clear the catalog and then use the Find Objects tab to catalog the Issue objects (and whatever else you need to catalog) from scratch. [Warning: above advice from someone who has never used CMFCollectorNG].
-- Fred Yankowski fred@ontosys.com tel: +1.630.879.1312 OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370 www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Charlie Jones wrote at 2003-7-7 15:04 -0400:
I am in the process of moving a CMFCollectorNG instance from one Plone portal to another. While copying the CollectorNG folder and re-indexing the catalog gets things running, there is a problem with the catalog. It seems that the Issue data is stored as Metadata key/value pairs.
That is very unlikely! The fact that you see values in the catalog's "MetaData" means that the catalogued objects have methods with the name of the column that produced the value. By the way: When you would include "CMFCollectorNG" in the "Subject", you would have a chance that the "CMFCollectorNG" author (Andreas Jung) would respond ;-)
During the re-index, that information is lost. I am assuming that the it is placed there via a form submission. But for the life of me I can't figure out how.
That's not how the catalog (and its "MetaData") work... Dieter
As it turns out the data is stored in the issue objects. When I moved the whole Collector over to another Ploine instance, for some reason I lost the assigned_to and status fields. Luckily, there weren't too many issues. I just had the people login and re-assign their issues back to themselves. Not the best solution, but it worked. charlie ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Charlie Jones" <charlie.jones@cadence-technologies.com> Cc: <zope@zope.org> Sent: Tuesday, July 08, 2003 1:58 PM Subject: Re: [Zope] ZCatalog: Editing Metadata Key Values....
Charlie Jones wrote at 2003-7-7 15:04 -0400:
I am in the process of moving a CMFCollectorNG instance from one Plone portal to another. While copying the CollectorNG folder and re-indexing the catalog gets things running, there is a problem with the catalog. It seems that the Issue data is stored as Metadata key/value pairs.
That is very unlikely!
The fact that you see values in the catalog's "MetaData" means that the catalogued objects have methods with the name of the column that produced the value.
By the way:
When you would include "CMFCollectorNG" in the "Subject", you would have a chance that the "CMFCollectorNG" author (Andreas Jung) would respond ;-)
During the re-index, that information is lost. I am assuming that the it is placed there via a form submission. But for the life of me I can't figure out how.
That's not how the catalog (and its "MetaData") work...
Dieter
--On Dienstag, 8. Juli 2003 15:16 Uhr -0400 Charlie Jones <charlie.jones@cadence-technologies.com> wrote:
As it turns out the data is stored in the issue objects. When I moved the whole Collector over to another Ploine instance, for some reason I lost the assigned_to and status fields. Luckily, there weren't too many issues. I just had the people login and re-assign their issues back to themselves. Not the best solution, but it worked.
There is really no issue with the issue instances. It is more likely that your catalog instances are not consistent. -aj
I queried each issue object with the following code from within the Collector folder: <dtml-in "objectValues('CMF CollectorNG Issue')"> Title = <dtml-var title_or_id> Submitter = <dtml-var submitter_id> Assigned = <dtml-var assigned_to> ID = <dtml-var id> Topic = <dtml-var topic> Status = <dtml-var status> Progress = <dtml-var progress> ------- </dtml-in> assigned_to and status were blank for every object. Updating the collector_catalog did not seem to make a difference. ----- Original Message ----- From: "Andreas Jung" <andreas@andreas-jung.com> To: "Charlie Jones" <charlie.jones@cadence-technologies.com>; "Dieter Maurer" <dieter@handshake.de> Cc: <zope@zope.org> Sent: Tuesday, July 08, 2003 3:27 PM Subject: Re: [Zope] ZCatalog: Editing Metadata Key Values....
--On Dienstag, 8. Juli 2003 15:16 Uhr -0400 Charlie Jones <charlie.jones@cadence-technologies.com> wrote:
As it turns out the data is stored in the issue objects. When I moved
the
whole Collector over to another Ploine instance, for some reason I lost the assigned_to and status fields. Luckily, there weren't too many issues. I just had the people login and re-assign their issues back to themselves. Not the best solution, but it worked.
There is really no issue with the issue instances. It is more likely that your catalog instances are not consistent.
-aj
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Check what objects are stored in the collector_catalog. Check their stored metadata. They must be the same as in your original catalog. Otherwise your catalog is borked. -aj --On Dienstag, 8. Juli 2003 15:51 Uhr -0400 Charlie Jones <charlie.jones@cadence-technologies.com> wrote:
I queried each issue object with the following code from within the Collector folder: <dtml-in "objectValues('CMF CollectorNG Issue')"> Title = <dtml-var title_or_id> Submitter = <dtml-var submitter_id> Assigned = <dtml-var assigned_to> ID = <dtml-var id> Topic = <dtml-var topic> Status = <dtml-var status> Progress = <dtml-var progress> ------- </dtml-in>
assigned_to and status were blank for every object. Updating the collector_catalog did not seem to make a difference.
----- Original Message ----- From: "Andreas Jung" <andreas@andreas-jung.com> To: "Charlie Jones" <charlie.jones@cadence-technologies.com>; "Dieter Maurer" <dieter@handshake.de> Cc: <zope@zope.org> Sent: Tuesday, July 08, 2003 3:27 PM Subject: Re: [Zope] ZCatalog: Editing Metadata Key Values....
--On Dienstag, 8. Juli 2003 15:16 Uhr -0400 Charlie Jones <charlie.jones@cadence-technologies.com> wrote:
As it turns out the data is stored in the issue objects. When I moved
the
whole Collector over to another Ploine instance, for some reason I lost the assigned_to and status fields. Luckily, there weren't too many issues. I just had the people login and re-assign their issues back to themselves. Not the best solution, but it worked.
There is really no issue with the issue instances. It is more likely that your catalog instances are not consistent.
-aj
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Andreas Jung -
Charlie Jones -
Dieter Maurer -
Fred Yankowski