[Zope-CMF] Decode for Record objects

2008-01-10 Thread Charlie Clark
A happy 2008 to everyone! Currently it's not really possible to use ZSQL with CMF because CMFDefault.utils.decode does not know how to handle Shared.DC.ZRDB.Results.Results or Record.Record instances I think that the decode could be extended to be able to work with Results and Records

Re: [Zope-CMF] Decode for Record objects

2008-01-10 Thread Jens Vagelpohl
On Jan 10, 2008, at 11:41 , Charlie Clark wrote: A happy 2008 to everyone! Currently it's not really possible to use ZSQL with CMF because CMFDefault.utils.decode does not know how to handle Shared.DC.ZRDB.Results.Results or Record.Record instances I think that the decode could be

Re: [Zope-CMF] Decode for Record objects

2008-01-10 Thread Andreas Jung
--On 10. Januar 2008 11:41:49 +0100 Charlie Clark [EMAIL PROTECTED] wrote: A happy 2008 to everyone! Currently it's not really possible to use ZSQL with CMF because CMFDefault.utils.decode does not know how to handle Shared.DC.ZRDB.Results.Results or Record.Record instances I think that

Re: [Zope-CMF] Decode for Record objects

2008-01-10 Thread Charlie Clark
Am 10.01.2008 um 11:54 schrieb Jens Vagelpohl: It may be helpful if you describe what you were trying to do and what failure you're seeing so everyone has a little context for this request, which AFAIK has never come up anywhere. :oops: Sorry, I thought this was a known issue. If I have

Re: [Zope-CMF] Decode for Record objects

2008-01-10 Thread Charlie Clark
Am 10.01.2008 um 11:59 schrieb Andreas Jung: Consider working with SQLAlchemy. SA works nicely with unicode e.g. when you're using a Postgres DB with Unicode as internal DB encoding. Thanks for the tip but that's not really a solution to the problem. I normally use mxODBC and, although

[Zope-CMF] CMF Tests: 11 OK

2008-01-10 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list. Period Wed Jan 9 12:00:00 2008 UTC to Thu Jan 10 12:00:00 2008 UTC. There were 11 messages: 11 from CMF Unit Tests. Tests passed OK --- Subject: OK : CMF-1.5 Zope-2.7 Python-2.3.6 : Linux From: CMF Unit Tests Date: Wed Jan 9 21:31:51 EST

[Zope-CMF] Re: Decode for Record objects

2008-01-10 Thread Hanno Schlichting
Charlie Clark wrote: If I have non-ASCII data in an RDBMS that I wish to use in a CMF site or even straight ZPT's you get a UnicodeError when accessing the non-ASCII Values which you get around using the decode utility. ZPT uses Unicode internally in Zope 2.10 and newer, so you need to

[Zope-CMF] Re: [dev] content factories and events - a proposal

2008-01-10 Thread yuppie
Hi! Wichert Akkerman wrote: Previously yuppie wrote: Here are my assertions: a) The right place for calling notifyWorkflowCreated() and indexObject() is the event handler for IObjectAddedEvent. _setObject() sends this event by default. b) Oldstyle factory methods are not responsible for