[Zope-CMF] ZSyncer and CMF - WebDAV problem?

Jon Edwards jon@pcgs.freeserve.co.uk
Wed, 19 Dec 2001 20:32:04 -0000


Hi Andy,

Thanks for the reply, but..... :-)

I was confused, as it would work with some CMF Instances, but not others.
Also, on the ones where it worked, I could read the "Locked" portal_skins
folders (graphics, content, etc.) which I believe are full of File System
objects? ...though obviously, I wouldn't try to sync them!

Then I remembered I'd been experimenting with WebDAV on some of the sites.
So, with one of the CMF instances that previously choked, I deleted the
WebDAV-created document from root.... and hey presto! It now works...
except, of course, for the sub-folders that have WebDAV edited stuff in
them.

I'm guessing that using WebDAV leaves some sort of file in there that
doesn't show up in the ZMI, but chokes ZSyncer?

I think I can work round this for now, as I mainly want to use ZSyncer to
synchronise changes from my development-machine's custom skins folders to
all the sites I maintain, with one button-click. But do you think this could
be fixed? Perhaps ZSyncer could be made to ignore those weird WebDAV files,
rather than erroring ...maybe mark them "Un-Syncable" (like the Titanic!)?
:-)

Or perhaps it's just a case of adding a warning to ZSyncer's docs to say
that you can't use it and WebDAV on the same folder?

HTH

Cheers, Jon

P.S. I'm not sure I understand your point about Catalog-aware... do you mean
that any catalogued object you synced would end up being catalogued twice?

> -----Original Message-----
> From: Andy McKay [mailto:andym@ActiveState.com]

> If the CMF was a bunch of ZODB only objects it would be fine, but ZSyncer
> does not move and FS objects such as External Methods, FSSQLMethods or
> whatever. The error means it can't marshal the object, so it
> something to do
> with the object in that folder. You could try syncing the
> containing object,
> but again if there FS objects it just won't work.
>
> Further to that syncing objects in the CMF may or may not make sense
> depending upon cataloguing. Im assuming most CMF objects are catalog aware
> so on import they will be recreated in the catalog, but you will probably
> want to check that first.