[MAGNOLIA-1953] activation workflow can not send e-mail notification due several bugs Created: 05/Apr/07 Updated: 23/Jan/13 Resolved: 12/Dec/07 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 3.0.2 |
| Fix Version/s: | 3.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Henryk Paluch | Assignee: | Vivian Steller |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia 3.0.2 EE, JDK 1.5.0_11, Win2000 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||||||||||
| Description |
|
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"> fix - replace: 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 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 |
| Comments |
| Comment by Vivian Steller [ 12/Dec/07 ] |
|
fixed on svn with r13537. 1) fixed in default-activation-workflow.xml |