Project

General

Profile

Actions

Defect #16379

closed

Undefined method `each' for nil:NilClass on search for watchers to add

Added by Ricardo S almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Not selecting an user, when 'Searching for users to add' on a New Issue, and clicking on Add instead of Cancel results on the following error on the logs:

undefined method `each' for nil:NilClass
app/views/watchers/append.js.erb:1:in `_app_views_watchers_append_js_erb__830604308_107476400'

Looking and the WatchersController.append action one can see that the u d attribute fails to be initialized when no user is selected.
That seems to be cause.


Related issues

Is duplicate of Redmine - Defect #14298: Error generated on 'search for watchers to add' after clicking add without selected usersClosedJean-Philippe Lang

Actions
Actions #1

Updated by Michael Esemplare almost 11 years ago

Duplicates #14298

Actions #2

Updated by Jean-Philippe Lang almost 11 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Indeed, fixed in r12985.

Actions #3

Updated by Jean-Philippe Lang almost 11 years ago

  • Is duplicate of Defect #14298: Error generated on 'search for watchers to add' after clicking add without selected users added
Actions

Also available in: Atom PDF