cancel
Showing results for 
Search instead for 
Did you mean: 

after starting workflow the page is not redirecting to alfresco 5.2

kranthi
Star Contributor
Star Contributor

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.

1 ACCEPTED ANSWER

krutik_jayswal
Elite Collaborator
Elite Collaborator

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

View answer in original post

1 REPLY 1

krutik_jayswal
Elite Collaborator
Elite Collaborator

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