[BUG] Wrong Task Link in user Dashboard - HTTP error 400
StaSys846 opened this issue · comments
StaSys846 commented
Describe the bug
Click on User Task link in Dashboard shows HTTP error 400 and does not open the intended task.
Error is related to a wrong href concatenation in app/static/assets/js/iris/dashboard.js
see additional context for details.
IRIS v2.4.4
To Reproduce
Steps to reproduce the behavior:
- Go to 'Dashboard'
- Click on task link in "Attributed open tasks" table
- Receive Error
Expected behavior
Click on link should open task in WebUI
Screenshots
Wrong character in href link:
Error Message:
wrong link creation:
Desktop (please complete the following information):
- independent
Additional context
app/static/assets/js/iris/dashboard.js original Line 352:
a_anchor.attr('href', `case/tasks?cid=${row['case_id']}'&shared=${row['task_id']}`);
should be change to:
a_anchor.attr('href', `case/tasks?cid=${row['case_id']}&shared=${row['task_id']}`);
Note the deleted ' between } and &!