[ http://jira.magnolia.info/browse/MAGNOLIA-1953?page=all ]
Vivian Steller resolved MAGNOLIA-1953. -------------------------------------- Resolution: Fixed fixed on svn with r13537. 1) fixed in default-activation-workflow.xml 2) added new "workflowNotification" freemarker mail template in mail module which also shows usage of attributes 2b) not an issue anymore 3) was fixed with MAGNOLIA-1950 > activation workflow can not send e-mail notification due several bugs > --------------------------------------------------------------------- > > Key: MAGNOLIA-1953 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1953 > Project: Magnolia > Issue Type: Bug > Affects Versions: 3.0.2 > Environment: Magnolia 3.0.2 EE, JDK 1.5.0_11, Win2000 > Reporter: Henryk Paluch > Assigned To: Vivian Steller > Fix For: 3.5 > > > Default workflow (called "activation") - has several bugs that prevents > e-mail notifications to work (just uncommenting blocks bellow "uncomment if > you like to use an email notification " is not sufficient): > 1. <process-definition name="to-publisher"> is never called from main > <process-definition name="activation" revision="j0.0.2"> > therefore notification may not be send. > fix - replace: > <!-- go to publisher first --> > <participant ref="group-publisher"/> > with: > <!-- go to publisher first --> > <to-publisher/> > 2. mailTemplate references non-existing "testTemplate" - there is no such > template in default Magnolia 3.0.2 EE instalation. Attempt to use it results > in error: > ERROR 04.04.2007 17:08:31 Could not send email:Template:[testMagnolia] > configuration was not found in repository > Possible workaround - use > <set field="mailTemplate" value="testFreemarker"/> > 2b) Not a bug, but rather consequence: testFreemarker requires mandatory > parameter user > ERROR 05.04.2007 09:51:38 Could not send email:Expression user is undefined > on line 1, column 7 in testFreemarker.html. > I added this to temporarily fix it: > <set field="user" value="dont crash freeMarker"/> > Note: This workaround is related to using testFreeMarker template only. It > should be better > to include proper mail template in Magnolia installation. > 3) MgnlMailFactory. convertEmailList() ignores groups (here > "group-publisher") - so sending mail crashes with > ERROR 05.04.2007 10:21:45 Could not send email:No recipient addresses > Thus bug http://jira.magnolia.info/browse/MAGNOLIA-1230 is blocking e-mail > notifications -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------