Re: 2.3: emailing chief editors in publication workflow
Andy Altepeter <[email protected]> Mon, 12 Sep 2011 20:53:16 -0500
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <CAC1Sm5YEeF6=w-hPfgAuxp02GHQZbVQZhVGXWJgRMKWvYSPe3g@mail.gmail.com> |
--===============7122462729403488950== Content-Type: multipart/alternative; boundary=bcaec547c8454100e304acc8e81e --bcaec547c8454100e304acc8e81e Content-Type: text/plain; charset=ISO-8859-1 Hi All, Any input on this issue? peace, Andy On Mon, Aug 29, 2011 at 1:04 PM, Andrew Altepeter <[email protected]>wrote: > Greetings Devs, > > One of our chief editors recently mentioned they were not receiving > 'request for approval' messages from her authors. The messages service > (service_messages) is configured to "send emails when asked to". My > service_mailhost does not have mail queuing enabled. > > I've dug a bit in to why this does not work. It appears that Silva 2.3 > that the 'request approval' button in the middleground is now in > silva.core.smi SMIAction (silva.core.smi.edit.content.RequestApproval). > Running through the request approval process in my debugger, I see that the > approval request message is actually logged in service_messages: > RequestApproval calls Versioning.request_version_approval > Versioning.request_version_approval calls > Versioning._send_message_to_editors > Versioning._send_message_to_editors calls service_messages.send_message (to > the nearest chiefeditors) > > The form action is now finished. The message service queues the message (it > does NOT send it immediately). > > Looking in the legacy handlers for these actions, e.g. > Products.Silva.views.edit.VersionedContent.tab_status_request, the last > thing this handler does is to call service_messages.send_pending_messages. > > It seems this behavior of calling send_pending_messages no longer happens > in the publication workflow in 2.3. Is this a bug, or is there an > alternative means for sending pending messages which is preferred (e.g. > calling send_pending_messages via cron)? > > Thanks, > Andy > > _______________________________________________ > silva-dev mailing list > silva-dev-IAPFreCvJWM6s/[email protected] > https://lists.infrae.com/mailman/listinfo/silva-dev > > --bcaec547c8454100e304acc8e81e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All,<div><br></div><div>Any input on this issue?</div><div><br></div><di= v>peace,</div><div>Andy<br><br><div class=3D"gmail_quote">On Mon, Aug 29, 2= 011 at 1:04 PM, Andrew Altepeter <span dir=3D"ltr"><<a href=3D"mailto:aa= [email protected]">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Greetings Devs,<div><br></div><div>One of o= ur chief editors recently mentioned they were not receiving 'request fo= r approval' messages from her authors. =A0The messages service (service= _messages) is configured to "send emails when asked to". =A0My se= rvice_mailhost does not have mail=A0queuing=A0enabled.</div> <div><br></div><div>I've dug a bit in to why this does not work. =A0It = appears that Silva 2.3 that the 'request approval' button in the mi= ddleground is now in silva.core.smi SMIAction (silva.core.smi.edit.content.= RequestApproval). =A0Running through the request approval process in my deb= ugger, I see that the approval request message is actually logged in servic= e_messages:</div> <div>RequestApproval calls Versioning.request_version_approval</div><div>Ve= rsioning.request_version_approval calls Versioning._send_message_to_editors= </div><div>Versioning._send_message_to_editors calls service_messages.send_= message (to the nearest chiefeditors)</div> <div><br></div><div>The form action is now finished. The message service qu= eues the message (it does NOT send it immediately).</div><div><br></div><di= v>Looking in the legacy handlers for these actions, e.g. Products.Silva.vie= ws.edit.VersionedContent.tab_status_request, the last thing this handler do= es is to call service_messages.send_pending_messages.</div> <div><br></div><div>It seems this behavior of calling send_pending_messages= no longer happens in the publication workflow in 2.3. =A0Is this a bug, or= is there an alternative means for sending pending messages which is prefer= red (e.g. calling send_pending_messages via cron)?</div> <div><br></div><div>Thanks,</div><div>Andy</div> <br>_______________________________________________<br> silva-dev mailing list<br> <a href=3D"mailto:silva-dev-IAPFreCvJWM6s/[email protected]">silva-dev-IAPFreCvJWM6s/[email protected]</a= ><br> <a href=3D"https://lists.infrae.com/mailman/listinfo/silva-dev" target=3D"_= blank">https://lists.infrae.com/mailman/listinfo/silva-dev</a><br> <br></blockquote></div><br></div> --bcaec547c8454100e304acc8e81e-- --===============7122462729403488950== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ silva-dev mailing list silva-dev-IAPFreCvJWM6s/[email protected] https://lists.infrae.com/mailman/listinfo/silva-dev --===============7122462729403488950==--