passbe/beef-migration-test-3 — Issue #378: Beef Models Command does not have a "has_run" method
Author: passbe
Created: 2011-12-09 00:42:32+00:00
State: open

When trying to "re-execute" a command module, the following error is thrown:

[2011-02-27 12:55:17] ERROR NoMethodError: undefined method `has_run=' for #<BeEF::Models::Command:0x101641548>
/Users/xian/beef/beef/lib/ui/modules/modules.rb:395:in `reexecute_command_module'
/Users/xian/beef/beef/./lib/server/httpcontroller.rb:52:in `call'
/Users/xian/beef/beef/./lib/server/httpcontroller.rb:52:in `run'
/Users/xian/beef/beef/./lib/server/httphandler.rb:23:in `do_POST'
/Users/xian/beef/beef/./lib/server/httphandler.rb:21:in `synchronize'
/Users/xian/beef/beef/./lib/server/httphandler.rb:21:in `do_POST'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/Users/xian/beef/beef/./lib/server/httphookserver.rb:102:in `start'
beef.rb:33
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=289