[Zope-CMF] Re: FSZSQK Method patch
limi at plone.org
Thu Apr 8 11:26:55 EDT 2004
You should probably send it to the author to make sure it gets integrated.
On Tue, 06 Apr 2004 12:52:06 +0300, Alex V. Koval <alex at halogen-dg.com>
> We have discovered that FSZSQLMethod does not allow us to use standard
> Zope SQL
> FTP and WebDav serialized view of Z SQL method. Additionally we
> the big problem with FS Z SQL method arguments. It seems that we can pass
> 1 argument within the <dtml-comment> block, via arguments field. Our
> to pass required by ZSQL method line feed there does not succeed because
> the parsing
> of parameters block splits it by '\n':
> for line in block.split('\n'):
> pair = line.split(':',1)
> if len(pair)!=2:
> The possible solution would be to include multiple arguments via ',' but
> in general we
> want to be able to use common method Zope uses to serialize objects via
> FTP, WebDav.
> To make it possible we have patched FSZSQLMethod.py file so it works with
> both Zope
> formats now: with the custom format developed for FSZSQLMethod.py and
> Zope serialize format (<params>...</params>).
> Submitting it to mailing list, please advice if we should send it
> somewhere to the author
> to review and include to the CVS?
> The patch we made has been produced by diff -u of FSZSQLMethod.py of
> but it works to patch the original file in CMFCore.
Alexander Limi · Interaction Architect · Plone Solutions
Development · Training · Support · http://www.plonesolutions.com
Plone Co-Founder · http://plone.org · Connecting Content
More information about the Zope-CMF