[Product-Developers] Cut and Paste a container - AT event bug?

Kateryna aksorpa at gmail.com
Mon Dec 17 13:57:14 UTC 2007


I'm working on a blob storage implementation for file objects. I have a
problem when a container of a file object is cut and pasted.

I am finding that when a container of a file like object is cut and pasted,
cleanupInstance of the Storage API on the file object is called twice. The
first time, '_v_cp_refs' property is set, so I know the object is just being
moved. But the second time, this property is not set, therefore, the object
is deleted.

FileSystemStorage appears to have a work around:
http://dev.plone.org/collective/changeset/39052

I am wondering what the comment
# Create special _v_fss_move attribute to avoid event bug in AT 1.4

is referring to. I contacted the author, but I don't know if the person will
reply (or if I used the correct email).

If anyone knows, hit reply.

I am using Plone 2.5.3, ATContentTypes 1.1.6-final,  Archetypes 1.4.4-final.

Thanks 







More information about the Product-Developers mailing list