-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaks Redmine Search and Gives ArgumentsError with 3.0.1 #57
Comments
I'm seeing this as well. |
To work around this issue, I just commented out the first code block in https://github.com/Undev/redmine_tagging/blob/master/init.rb#L3 from lines 3-29 This only appears to disable tag search using the unified search. |
Anyone in the contributors confirms this? |
Did anyone find a feasable solution for this? |
Have the same issue: /opt/redmine/plugins/redmine_tagging/init.rb:18:in Environment: |
If I do that
Page with issues become broken |
I just commented out the block for wiki search. So now, wiki searching by clicking on tag is working as normal search. just work around but it is good than 503. :-( I hope it will come back soon! patch is below: --- a/init.rb
+++ b/init.rb
@@ -19,6 +19,7 @@ ActionDispatch::Callbacks.to_prepare do
end
unless WikiPage.searchable_options[:include] && WikiPage.searchable_options[:
+ '''
WikiPage.searchable_options[:columns] << "#{WikiPageTag.table_name}.tag"
# For redmine < 3
@@ -27,6 +28,7 @@ ActionDispatch::Callbacks.to_prepare do
# For redmine > 3
WikiPage.searchable_options[:scope] = -> { WikiPage.includes(:wiki_page_tag
+ '''
end
end
|
+1 |
Same problem with Redmine 3.2.1:
|
Does anyone know a Redmine version for which this issue is not present ? |
Related production.log is:
The text was updated successfully, but these errors were encountered: