quintagroup.catalogupdater

Warning
This product has not had a release in over 1 year and may no longer be maintained.
by Quintagroup last modified Nov 02, 2011 10:25 AM

Package for controlled ZCatalog object updating

Project Description

quintagroup.catalogupdater package is intended for extending ZCatalog API with possiblity to update selected columns only. This package registers 'catalog_updater' utility for that.

To simplify usage of the utility, quintagroup.catalogupdater extends GenericSetup's ZCatalog XMLAdapter handler, which allows to update attribute usage in column tag of catalog.xml file.

So, when you add a new column to the catalog, you add catalog.xml file in some profile with following part:

...
<column value="new_column" />
...

This adds new_column metadata to the portal_catalog, BUT, this metadata will be empty untill you rebuild the catalog. To automate this step you can add 'update="True"' attribute to the tag. And this will lead to column update after adding. Thus, result usage should look like this:

...
<column value="new_column" update="True" />
...

It also supports subtransactions, based on threshold property of ZCatalog.

Installation

See docs/INSTALL.txt file within product package for instructions.

Requirements

  • Plone 3
  • Plone 4

Author

  • Andriy Mylenkyi

Copyright (c) "Quintagroup": http://quintagroup.com, 2004 - 2011

Changelog

0.1.1 - Mar 24, 2010

  • added compatibility for Plone 4

0.1 - Mar 11, 2010

Initial release:

  • Registered 'catalog_updater' utility for list of columns updating [mylan]
  • Extended ZCatalogXMLAdapter for update property support in column tag [mylan]
  • Tests added [mylan]
  • Documentation files prepared for initial public release [olha]

Current Release
quintagroup.catalogupdater 0.1.1

Released Jul 14, 2010 — tested with Plone 4.1, Plone 4

Plone 4 compatible release.
More about this release…

Download file Get quintagroup.catalogupdater for all platforms
quintagroup.catalogupdater-0.1.1.tar.gz
Download file Get quintagroup.catalogupdater for all platforms
quintagroup.catalogupdater-0.1.1-py2.4.egg
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Status
0.1.1 Jul 14, 2010 Plone 4 compatible release. More about this release…
Plone 4.1
Plone 4
final
0.1 Mar 11, 2010 Initial public release. More about this release…
Plone 3
final

Comments (0)