11-24-2017 05:24 AM
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.
11-24-2017 10:40 AM
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
11-24-2017 10:40 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.