Project

General

Profile

Actions

Defect #44042

closed

Watchers section in the sidebar is incorrectly updated when watching a subtasks or related issue via context menu

Added by Mizuki ISHIKAWA about 1 month ago. Updated 9 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Resolution:
Fixed
Affected version:

Description

When viewing an issue page that lists sub-issues or related issues, using the context menu (right-click) on one of those issues to watch or unwatch it causes the watchers sidebar of the currently displayed (parent) issue to be incorrectly re-rendered with the watcher data of the operated issue.

This is a display-only bug. The parent issue's watchers are not modified in the database — only the sidebar rendering is wrong.

Steps to reproduce:
1. Open an issue that has sub-issues or related issues.
2. Right-click on a sub-issue or related issue to open the context menu.
3. Click Watch or Unwatch.
4. The watchers sidebar on the parent issue page is updated with the watcher information of the sub-issue, not the parent issue.


Files

Actions #1

Updated by Mizuki ISHIKAWA about 1 month ago

A patch is attached.
This ensures the watchers section in the sidebar is only updated when the operated issue matches the one currently displayed on the page.

Actions #2

Updated by Go MAEDA about 1 month ago

  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release
Actions #3

Updated by Go MAEDA 14 days ago

  • Assignee set to Go MAEDA
Actions #4

Updated by Go MAEDA 13 days ago

  • Status changed from Confirmed to Resolved
  • Target version changed from Candidate for next minor release to 6.1.3
  • Resolution set to Fixed

Committed the fix with slight change in r24735. Thank you.

Actions #5

Updated by Marius BĂLTEANU 9 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF