[Zope-CMF] Metadata Tool stores in non-unicode

2006-08-30 Thread Tim Terlegård
The Metadata Tool seems to store strings using the str type. I'd like to have them stored in unicode. For instance MetadataTool.listAllowedSubjects() returns a tuple with str-ojects, I'd like a tuple with unicode-objects. Other people than me must have been bitten by this? How do I resolve this?

Re: [Zope-CMF] Metadata Tool stores in non-unicode

2006-08-30 Thread Tim Terlegård
> >The Metadata Tool seems to store strings using the str type. I'd > >like to > >have them stored in unicode. For instance > >MetadataTool.listAllowedSubjects() > >returns a tuple with str-ojects, I'd like a tuple with unicode- > >objects. > > > >Other people than me must have been bitten by

[Zope-CMF] Workflow state change event

2008-05-15 Thread Tim Terlegård
I was wondering if it perhaps would make sense to move the ActionSucceededEvent notification after the reindexing of the workflow status has been done? doActionFor(...) calls _invokeWithNotification(...) and the bottom of that method looks like this: def _invokeWithNotification(self, wfs, ob, ac

Re: [Zope-CMF] Re: Workflow state change event

2008-05-16 Thread Tim Terlegård
On May 15, 2008, at 10:31 PM, Martin Aspeli wrote: Tim Terlegård wrote: I was wondering if it perhaps would make sense to move the ActionSucceededEvent notification after the reindexing of the workflow status has been done? doActionFor(...) calls _invokeWithNotification(...) and the bottom of