Skip to content

ActiveRecord::StaleObjectError (Attempted to destroy a stale object: KbArticle) #300

@eaxdev

Description

@eaxdev

Hi! I have updated to the latest version Redmine and redmine_knowledgebase. I've redmine_knowledgebase 3.1.0 and Redmine version 3.2.0.stable, Ruby version 2.2.3-p173 (2015-08-18) [x86_64-linux], Rails version 4.2.5.
I carried articles and categories with the old database, create a shared project, and included a knowledge base. All is well, but when I try to delete or update an article issued this error:
Rendered plugins/redmine_knowledgebase/app/views/kb_mailer/article_destroy.html.erb within layouts/mailer (0.2ms) Completed 409 Conflict in 38ms (ActiveRecord: 7.7ms) ActiveRecord::StaleObjectError (Attempted to destroy a stale object: KbArticle): lib/redmine/sudo_mode.rb:63:insudo_mode'`
However, no such error when I delete or update an article that has just created.

How this problem can be corrected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions