Actions
Defect #16379
closedUndefined method `each' for nil:NilClass on search for watchers to add
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
Updated by Jean-Philippe Lang over 10 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Indeed, fixed in r12985.
Updated by Jean-Philippe Lang over 10 years ago
- Is duplicate of Defect #14298: Error generated on 'search for watchers to add' after clicking add without selected users added
Actions