Skip to content

Conversation

mahkhaled
Copy link

when I try to update a wiki content in redmine 2, it throws exception 
ArgumentError (comparison of Symbol with Arel::Table failed):
  lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:438:in next_version'   lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:432:inset_new_version'
  app/controllers/wiki_controller.rb:152:in `update'

This should use maximum not calculate :max

…e wiki contents

when I try to update a wiki content in redmine 2, it throws exception 
ArgumentError (comparison of Symbol with Arel::Table failed):
  lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:438:in `next_version'
  lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:432:in `set_new_version'
  app/controllers/wiki_controller.rb:152:in `update'

This should use maximum not calculate :max
@jleishman
Copy link

Have you shared this with the Redmine project?

@MischaTheEvil
Copy link

Have you shared this with the Redmine project?

At least someone did. See upstream issue #14773.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants