[Product-Developers] [plone.app.iterate] Why is working copy support tied to versioning?

Andreas Jung lists at zopyx.com
Wed Apr 25 15:10:30 UTC 2012


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



David Glick (GW) wrote:
> On Apr 24, 2012, at 11:53 PM, Andreas Jung wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> Hi there,
>> 
>> I wonder why the working copy support of Plone is only working for
>> content-types with versioning enabled? Is there any particular
>> reason because I consider both features (working copy support and
>> versioning) independent of each other.
>> 
> 
> I'm not sure. I just glanced through plone.app.iterate and didn't see
> anything that would obviously make it require versioning. In what way
> does it fail without versioning?
> 

There is an explicit check inside checkout_allowed() that is related to
versioning enabled. Without having versioning enabled for my types,
checkout_allowed() will always return False.

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJPmBPmAAoJEADcfz7u4AZjFfcLwNw8xX+ZytcH1/3FgrkUhNYg
bPFUd/qo/Clo7DAc5xrJNbIA0OXd+d7tXeNtk5FBZzFspf/8TcfdFAWXx2NpwMjD
X8/kjGFby8jEEpc4zmL0jJTW1NURFlVxVAmdgg709zSyq6Vr3bjuTmvnETiAH0H5
W6epCOH2wB1WYKmZwibX8A9rpDOLTkJxl0E9Dyoqc1pJNtsROLRoQdHPqFUFOo8j
VXjFrjEYADhN1d/Hzkt6OqVq56YfRzSUQOhfz/r4o8Gd4Bc274ibDjm078rex4hb
lkg8oLfKAKvScix5L+VrWAhivarsubS4ykYm0ZW6lalkklw+1RnDdmygHbKWGiIH
uf4nGhFESUADRwSF/N4VK3GUYnfE4dq8+VRxodr1m4sVo5ze4AyBrime2gUZ43jr
eVolBL1QIACo9JMgBReR5ErmoKQmD2gYq8d3Pc8zCm5UBfQCNHkV8pwSbTETttAu
g6/V6PmQdj+3KiwquDh2+MoWVOExqIA=
=NoDr
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 310 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20120425/e25841a5/attachment.vcf>


More information about the Product-Developers mailing list