[Zope-CMF] Re: content import in non-purge mode

Tres Seaver tseaver at palladion.com
Tue Jul 17 16:25:03 EDT 2007


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

Wichert Akkerman wrote:
> Previously Wichert Akkerman wrote:
>> I'm currently running into a little issue with the content import logic:
>> even it I have an object listed in .preserve all its content still gets
>> reloaded when loading the profile in non-purge mode. I was expecting
>> that to create missing items but preserve existing content. Is that
>> behaviour intentional? I would like to have an option to only create
>> missing content items and I was expecting the combination of non-purge
>> mode and .preserve to provide that.
> 
> Unless anyone objects I intend to change this behaviour tomorrow.

- -1.  The current behavior is as designed:  The '.preserve' file is
intended to keep from blowing away content which does *not* have any
data in the importted profile.  I think we may need to kill off the idea
of running "content-load" imports from within the GS tool at all, rather
than wrange about conflicts in semantics.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
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

iD8DBQFGnSWf+gerLs4ltQ4RAshlAKClJMCZ3LmRHRHxKTRA+OczpEUhdQCgurhn
CDAfySowbG8lQKEo/ukAFyY=
=1o8S
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list