Project

General

Profile

Actions

Defect #36909

closed

Mentions not working if status is changed

Added by B P about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Email notifications
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

In Redmine 5.0 the new Mentions feature is not working, if the status of the ticket is changed.
It seems there is an error caused by reassigning a variable:

Error

//<![CDATA[
const currentDataSources = rm.AutoComplete.dataSources;const newDataSources = JSON.parse('{"users":"/watchers/autocomplete_for_mention?object_id=XXXXX\u00XXobject_type=issue\u00XXproject_id=helpdesk\u00XXq="}'); rm.AutoComplete.dataSources = Object.assign(currentDataSources, newDataSources);
//

Steps to reproduce:
- Edit Ticket
- @Mentions works
- Change Status to other state
- @Mentions not working and the obove error is shown in dev tools


Files

image.png (30.6 KB) image.png Error B P, 2022-04-08 13:10

Related issues

Related to Redmine - Feature #13919: Mention user on issues and wiki pages using @user with autocompleteClosedMarius BĂLTEANU

Actions
Copied to Redmine - Defect #37053: Attachments are lost when the status of the ticket is changedClosedMarius BĂLTEANU

Actions
Actions

Also available in: Atom PDF