Of course, this should add to humantask ui also. We can fix this simply adding query parameter in login redirection and checking for request url in refer header as below:
Thanks, Milinda On Sun, Jul 26, 2015 at 8:42 PM, Hasitha Aravinda <hasi...@wso2.com> wrote: > Created BPS-750 & BPS-751 for this. > > Thanks, > Hasitha. > > On Sun, Jul 26, 2015 at 11:04 AM, Hasitha Aravinda <hasi...@wso2.com> > wrote: > >> Hi Amal, >> >> Use case 1: Sometimes users will require to embedded task url ( Like [1] >> ) in emails. ( Eg: Task Reminder email etc). When user click on these >> links, BPMN webapp redirect user back to webapp login page, if user didn't >> login already. >> But after user login, webapp doesn't redirect back to task page, instead >> it will redirect to home page. >> >> Use case 2: When a user tries to view invalid or non existing task id ( >> eg: task?id=53016. ; task?id=12334566223 ), webapp shows 500 page. But 500 >> page doesn't have any home page link. Btw I think 404 - not found status >> code is correct status code to return. >> >> [1] https://localhost:9443/bpmn-explorer/task?id=53016 >> >> Can we fix these, if time permits. >> >> Thanks, >> Hasitha. >> >> -- >> Hasitha Aravinda, >> Senior Software Engineer, >> WSO2 Inc. >> Email: hasi...@wso2.com >> Mobile : +1 201 887 1971, +94 718 210 200 >> > > > > -- > Hasitha Aravinda, > Senior Software Engineer, > WSO2 Inc. > Email: hasi...@wso2.com > Mobile : +1 201 887 1971, +94 718 210 200 > -- Milinda Perera Software Engineer; WSO2 Inc. http://wso2.com , Mobile: (+94) 714 115 032
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev