[Zope-CMF] DiscussionItem patch
Florent Guillaume
fg at nuxeo.com
Fri Sep 3 10:42:47 EDT 2004
Added as http://collector.zope.org/CMF/280 for tracking purposes.
Florent
In article <7A330272-FD06-11D8-A206-00039382A54A at epy.co.at> you write:
> We'd like to see the following fix in CMF. Use case is to be notified
> when someone adds a comment to an object. Because DiscussionItems are
> not created by invokeFactory, the workflow is currently not notified.
>
> Stefan
>
>
> Begin forwarded message:
>
> > From: Helge Tesdal <tesdal at localhost.localdomain>
> > Date: August 30, 2004 18:14:32 GMT+02:00
> > To: staff at plonesolutions.com
> > Subject: DiscussionItem patch
> >
> > Index: DiscussionItem.py
> > ===================================================================
> > RCS file: /cvs-repository/Products/CMFDefault/DiscussionItem.py,v
> > retrieving revision 1.33.4.3
> > diff -u -r1.33.4.3 DiscussionItem.py
> > --- DiscussionItem.py 7 Aug 2004 12:59:42 -0000 1.33.4.3
> > +++ DiscussionItem.py 30 Aug 2004 16:12:19 -0000
> > @@ -309,6 +309,8 @@
> >
> > item.setReplyTo( self._getDiscussable() )
> >
> > + item.__of__(self).notifyWorkflowCreated()
> > +
> > self._container[ id ] = item
> >
> > return id
> >
> --
> The time has come to start talking about whether the emperor is as well
> dressed as we are supposed to think he is. /Pete McBreen/
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 71 59 http://nuxeo.com mailto:fg at nuxeo.com
More information about the Zope-CMF
mailing list