Comment 1 for bug 254576

Revision history for this message
Tres Seaver (tseaver) wrote : Re: [Bug 254576] [NEW] CMFCore.exportimport.content doesn't index results of .properties

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ross Patterson wrote:
> Public bug reported:
>
> In CMFCore/exportimport/content.py:201, the title and description for
> the newly created content are set but nothing is done to reindex the
> objects so that the catalog will reflect the new values. It seems that
> the solution might be as simple as adding "content.reindexObject()"
> after "content.setDescription(description)".

- -1. Generally speaking, doing incremental indexing during bulk
operations is a lose: I would rather disable even the minimal "after
add" indexing than add more of it.

Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIlzUl+gerLs4ltQ4RAlwtAKC32nb7kMdVuZk5e0bUrciaCW2fLACgvdsq
75I/QR/hxyYsjMYHEtsHSys=
=+f4N
-----END PGP SIGNATURE-----