Restream/redmine_elasticsearch

Error undefined method `update_index'

Closed this issue · 3 comments

Hi,

After upgrade to version 0.1.10 to fix #11 the Rescue fails to update index on deleted issues.
Below the log:

Worker
tijuca:26826 on INDEX_QUEUE at about 16 hours ago Retry or Remove
Class
 Workers::Indexer
Arguments

---
id: 21086
type: issue
Exception
NoMethodError
Error
undefined method `update_index' for #
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib/workers/indexer.rb:49:in `rescue in update_instance_index'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib/workers/indexer.rb:44:in `update_instance_index'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib/workers/indexer.rb:33:in `perform' 

See the Rescue screenshot:

screen shot 2014-08-19 at 09 21 08

Any idea?

Thanks

Hi @maiconzucco, fixed bug in fc350b6 - try the latest version 0.1.11

Thanks @nodecarter!
I'll run the tests and return the result.

Works perfect!
Thanks!