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
"Files" entry type causing error #87
Comments
No feedback => closing. |
hi, NameError (uninitialized constant Article): ` please help |
Hm, that's strange. The problem is reported from here:
There is called a Redmine method |
'Article' seems to come from Knowledgebase plugin. So I've tested searching with this plugin installed and everything seems to be Okay. |
hi, yes, i also tested it using redmine knowledge base plugin. but it is succesfull. i think because of my previous database. somehow previous database structure causing error. let me go through it again, and will update it here. |
hi, did you solve it on version 1.6.8? |
I haven't solved it. I've just removed the milestone. |
hi @picman i have trace it, and i know what the cause is. i have record in "attachments" table that has "container_type source" is Article, and Contacts. While i already uninstall the article and contacts plugin. My steps to solve this :
Can you put handling exception for this case? so if that case happened, it will not cause error on redmine_xapian btw, this is a really really cool plugin. thanks for creating it :) |
I've already fixed it in this commit: 8dd19b5. |
Hi,
There is a bug, on the Global search scope, if "files" entry selected.
The behavior for example :
If i search keyword "this", and "this" keyword is there on repository files, and i check the "files entry", like this screenshot :
then the search result will gave error like this :
but if i uncheck the "files" option, the behavior will be normal :
If i search keyword "xyz", and "xyz" keyword is NOT there on repository files, and i check the "files entry", like this screenshot :
the behavior will be normal, there is no error.
so the conclusion is, error will happen if search keyword that getting indexed with xapian, and i select the "files" entry option. this bug behavior appears both on : "project scope search" and "global scope search"
The text was updated successfully, but these errors were encountered: