Alfresco 5.2.0, when a user tries to start a workflow on document from Document Library. After clicking "Start Workflow" button of a workflow form,the page is not redirecting to document library page.
Solved! Go to Solution.
Basically i faced a similar bug in alfresco.The problem is with the date field.
Basically when you click on start workflow button, it finds the previous page and redirect to that page.that is what start workflow button do.
But when you select date it is appending # in the URL.so when you press start workflow after selecting date it will redirect to start-workflow page only.
Solution is to replace below line
<a id="${controlId}-icon" tabindex="0" href="#"><img src="${url.context}/res/components/form/images/calendar.png" class="datepicker-icon"/></a>
With
<a id="${controlId}-icon" tabindex="0"><img src="${url.context}/res/components/form/images/calendar.png" class="datepicker-icon"/></a>
in date.ftl
Basically i faced a similar bug in alfresco.The problem is with the date field.
Basically when you click on start workflow button, it finds the previous page and redirect to that page.that is what start workflow button do.
But when you select date it is appending # in the URL.so when you press start workflow after selecting date it will redirect to start-workflow page only.
Solution is to replace below line
<a id="${controlId}-icon" tabindex="0" href="#"><img src="${url.context}/res/components/form/images/calendar.png" class="datepicker-icon"/></a>
With
<a id="${controlId}-icon" tabindex="0"><img src="${url.context}/res/components/form/images/calendar.png" class="datepicker-icon"/></a>
in date.ftl
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.