Getting kicked out of the page and returned to main page with change in Assignee automatically

Certified Senior Developer

I have a button named "Save Decision" on task details page, on clicking it automatically kicks out and returns to the home page(Where all tasks are displayed) and also the task assignee gets changed (to the one who was its original assignee before reassignment)

In the code, upon clicking on "Save Decision" we are just saving data to few variables.

Tried to debug but could not locate the reason. does anyone know what might be the reason for it ?

Thanks

  Discussion posts and replies are publicly visible