Defect #34965

UnWatch ticket does not work thows 403 Forbidden when clicked

Added by Joel Sager 4 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:-
Resolution: Affected version:4.1.2

Description

When trying to UnWatch a ticket that have watched. It does not work and I get a 403 Forbidden

Firebug log:

XHRDELETEhttps://my.domain.com/watchers/watch?object_id=21079&object_type=issue
[HTTP/1.1 403 Forbidden 227ms]

DELETE
https://my.domain.com/watchers/watch?object_id=21079&object_type=issue
Status403
Forbidden
VersionHTTP/1.1
Transferred627 B (216 B size)

Apache Log

ActionController::RoutingError (No route matches [GET] "/watchers/watch"):

Environment:
Redmine version 4.1.2.stable
Ruby version 2.6.5-p114 (2019-10-01) [x86_64-linux]
Rails version 5.2.4.5
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Filesystem
Redmine plugins:
easy_gantt 1.12
easy_gantt_pro 1.10
redmine_agile 1.5.3
redmine_checklists 3.1.16
redmine_contacts 4.3.0
redmine_contacts_helpdesk 4.1.8
redmine_contacts_invoices 4.2.3
redmine_crm_mailchimp 1.0.4
redmine_favorite_projects 2.1.0
redmine_finance 2.1.7
redmine_people 1.5.1
redmine_products 2.1.2
redmine_questions 1.0.2
redmine_reporter 1.0.3
redmine_resources 1.0.2
redmine_work_time 0.4.0
redmine_zenedit 1.0.3
sidebar_hide 0.0.8

Also available in: Atom PDF