weixin_39587822
2020-12-26 01:59Workflow Link Broken in Workflow Emails
This has probably been broken for a while, tested in latest release:
When emails are generated thru the workflows and a "notify assignee" sub-action is present, then the email template (/dotserver/tomcat-8.0.18/webapps/ROOT/WEB-INF/velocity/static/workflow/workflow_email_template.html) sends an email:
This email template expects that a ${workflowLink}
is being set:
<tr bgcolor="white">
<td align="right" valign="top">
<font color="gray"><b>$structureName:</b></font>
</td>
<td>
<a href="%24%7BworkflowLink%7D">$!{workflowTaskTitle}</a><br>
</td>
</tr>
However, this workflow link ends up being sent with some Null
values for id's at the beginning of the pathing, thus resulting in a 404, as shown in this example:
https://demo.dotcms.com/c/portal/layout?p_l_id=&p_p_id=workflow&p_p_action=1&p_p_state=maximized&p_p_mode=view&_workflow_struts_action=/ext/workflows/edit_workflow_task&_workflow_cmd=view&_workflow_taskId=9dcb1888-2ce3-482a-8675-44464ef5bce0
We should fix the way this workflow link is built, so that after login, the user is brought to the detail of the specific task (permissions permitting)
该提问来源于开源项目:dotCMS/core
- 点赞
- 回答
- 收藏
- 复制链接分享
4条回答
为你推荐
- 如何在mgo(Go)中将接口类型用作模型?
- mongodb
- 2个回答
- 如何管理此CodeIgniter / PHP + Subversion工作流程?
- workflow
- codeigniter
- svn
- php
- 1个回答
- 为CakePHP中的测验应用建议更好的流程
- workflow
- architecture
- php
- 3个回答
- Elasticsearch范围过滤器无法正常工作(未注册过滤器)
- elasticsearch
- php
- 1个回答
- Symfony Twig,持久收集的未定义索引
- symfony
- php
- 2个回答
换一换