Clicking todo list link to deleted file throws exception
Reported by Max Hawkins | January 4th, 2011 @ 02:30 AM
If you open the todo list view and delete one of the files listed in the view, clicking on the file throws an error:
Sorry, there was an error.
undefined method `focus' for nil:NilClass
/Users/max/Code/src/redcar/plugins/todo_list/lib/todo_list/todo_controller.rb:28:in `open_file'/Users/max/Code/src/redcar/plugins/html_view/lib/html_view.rb:116:in `controller_action'/Users/max/Code/src/redcar/plugins/html_view/lib/html_view.rb:72:in `to_proc'/Users/max/Code/src/redcar/plugins/core/lib/core/observable.rb:103:in `call'/Users/max/Code/src/redcar/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'/Users/max/Code/src/redcar/plugins/core/lib/core/observable.rb:103:in `map'/Users/max/Code/src/redcar/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'/Users/max/Code/src/redcar/plugins/core/lib/core/observable.rb:96:in `notify_listeners'/Users/max/Code/src/redcar/plugins/html_view/lib/html_view/html_tab.rb:25:in `controller_action'/Users/max/Code/src/redcar/plugins/application_swt/lib/application_swt/html_tab.rb:53:in `changing'/Users/max/Code/src/redcar/plugins/swt/lib/swt/event_loop.rb:13:in `start'/Users/max/Code/src/redcar/plugins/core/lib/core/gui.rb:39:in `start'/Users/max/Code/src/redcar/lib/redcar.rb:184:in `pump'/Users/max/Code/src/redcar/bin/redcar:30
Comments and changes to this ticket
-
delisa January 4th, 2011 @ 03:39 AM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.