-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hi
I recently migrated my redmine server 5 to 6
So i installed latest additional_tags plugin into my new server.
When i try to load issues tag i am getting below issue.
[87ace1c9-6937-4240-baae-f27f12d5bd6c] ActiveRecord::StatementInvalid (Mysql2::Error: Unknown column 'additional_tags.id' in 'SELECT')
[87ace1c9-6937-4240-baae-f27f12d5bd6c] Mysql2::Error (Unknown column 'additional_tags.id' in 'SELECT')
[87ace1c9-6937-4240-baae-f27f12d5bd6c] 1: - if AdditionalTags.setting?(:active_issue_tags) &&
[87ace1c9-6937-4240-baae-f27f12d5bd6c] 2: User.current.allowed_to?(:view_issue_tags, @project, global: true) &&
[87ace1c9-6937-4240-baae-f27f12d5bd6c] 3: defined?(sidebar_tags) &&
[87ace1c9-6937-4240-baae-f27f12d5bd6c] 4: sidebar_tags.present?
[87ace1c9-6937-4240-baae-f27f12d5bd6c] 5:
[87ace1c9-6937-4240-baae-f27f12d5bd6c] 6: .sidebar-tags
[87ace1c9-6937-4240-baae-f27f12d5bd6c] 7: h3 = l :field_tags
Myself i try to find the issue.
acts-as-taggable-on gem giving the table names as below
ActsAsTaggableOn::Tag.table_name as 'tags'
ActsAsTaggableOn::Tagging.table_name as 'taggings'
But the plugin expecting the table name should be
'additional_tags'
'additional_taggings'
For now i did small hack in init.rb
ActsAsTaggableOn::Tag.table_name = 'additional_tags'
ActsAsTaggableOn::Tagging.table_name = 'additional_taggings'
it is solved the issue i think it is not permenant solution.
Please let me know, if you have any solution for this