Error While saving Wiki (Arel::Table failed) acts_as_versioned
Added by Leandro Guida about 11 years ago
Hello,
i'm getting the following error while trying to save a Wiki:
ArgumentError (comparison of Symbol with Arel::Table failed): lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:440:in `next_version' lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:434:in `set_new_version' app/models/wiki_page.rb:185:in `block in save_with_content' app/models/wiki_page.rb:180:in `save_with_content' app/controllers/wiki_controller.rb:157:in `update'
The Wiki was working just fine, and there wasn't any new changes in the redmine installation. Now I can't save any wiki apparently.
My redmine environment:
Environment: Redmine version 2.3.0.stable Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.13 Environment production Database adapter Mysql2 Redmine plugins: due_date_reminder 0.4 periodictask 2.0.0 redmine_dmsf 1.4.5p1 stable redmine_hours 0.1.0 redmine_loader 0.3b redmine_timesheet_plugin 0.7.0
And the Gemlist:
*** LOCAL GEMS *** actionmailer (3.2.13) actionpack (3.2.13) activemodel (3.2.13) activerecord (3.2.13) activeresource (3.2.13) activesupport (3.2.13) arel (3.0.2) bigdecimal (1.1.0) builder (3.0.4, 3.0.0) bundler (1.3.5) coderay (1.0.9) daemons (1.1.9) delayed_job (4.0.0) delayed_job_active_record (4.0.0) erubis (2.7.0) eventmachine (1.0.3) hike (1.2.2) i18n (0.6.1) io-console (0.3) journey (1.0.4) jquery-rails (2.0.3) json (1.7.7, 1.5.4) mail (2.5.3) mime-types (1.22) minitest (2.5.1) multi_json (1.7.2) mysql2 (0.3.11) net-ldap (0.3.1) nokogiri (1.5.9) polyglot (0.3.3) rack (1.4.5) rack-cache (1.2) rack-openid (1.3.1) rack-protection (1.5.0) rack-ssl (1.3.3) rack-test (0.6.2) rails (3.2.13) railties (3.2.13) rake (10.0.4, 0.9.2.2) rdoc (3.12.2, 3.9.4) ruby-openid (2.1.8) rubyzip (0.9.9) simple_enum (1.6.4) sinatra (1.4.3) sprockets (2.2.2) thin (1.5.1) thor (0.18.1) tilt (1.3.7) treetop (1.4.12) tzinfo (0.3.37) uuidtools (2.1.3)
Replies (3)
RE: Error While saving Wiki (Arel::Table failed) acts_as_versioned - Added by Martin Denizet (redmine.org team member) about 11 years ago
RE: Error While saving Wiki (Arel::Table failed) acts_as_versioned - Added by Mischa The Evil about 11 years ago
FTR: this is reported as issue #14773. Please elaborate on that issue and add some more information about how this issue can be reproduced.
Thanks in advance.
RE: Error While saving Wiki (Arel::Table failed) acts_as_versioned - Added by Leandro Guida about 11 years ago
The patch in the issue #14773 fixed my problem. Direct link to the patch: https://github.com/edavis10/redmine/pull/51