Defect #10600

Watchers search generates an Internal error

Added by Anton Tsapov over 5 years ago. Updated over 5 years ago.

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

0%

Category:Issues
Target version:1.4.0
Resolution:Fixed Affected version:

Description

When somebody try to search a user to add in watchers list, he take Internal error.

A NoMethodError occurred in watchers#autocomplete_for_user:

 undefined method `-' for nil:NilClass
 [RAILS_ROOT]/app/controllers/watchers_controller.rb:101:in `autocomplete_for_user'

I think, that applied patch resolve this problem.

Fix-typo-in-watchers-search.diff Magnifier (519 Bytes) Anton Tsapov, 2012-04-04 10:54

Associated revisions

Revision 9323
Added by Etienne Massip over 5 years ago

Fixed Internal Error in watchers XHR search (#10600).

History

#1 Updated by Etienne Massip over 5 years ago

  • Tracker changed from Patch to Defect
  • Category set to Issues
  • Status changed from New to Confirmed
  • Target version set to 1.4.0
  • Affected version (unused) set to devel

Blocker.

#2 Updated by Etienne Massip over 5 years ago

  • Status changed from Confirmed to Resolved
  • Resolution set to Fixed

Fixed with r9323.

#3 Updated by Jean-Philippe Lang over 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF