-
Notifications
You must be signed in to change notification settings - Fork 114
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
Allow unexpected char
for names in NSI
#1830
Comments
Deployed. |
I suspect that updating the plugin version doesn't clear the cached external resource (here: the NSI), correct? |
Yes, cache and code update are not related. |
Ok, found the bug. The whitelist code that I took from Name_Uppercase splits by spaces, but I compare by full name, so it only worked for names without spaces |
Now the issue is fixed properly, the error is gone ;) |
Plugin Name_Script (item 5070, class 50701) reports when a name contains an character that's not common in the charset of the country. For example, in the case of n5782442218, I get
(I marked it as false positive)
This shop however is also in the NameSuggestionIndex with the same spelling.
It would be good to whitelist names that are also in the NSI. We already do this for uppercase names:
osmose-backend/plugins/Name_UpperCase.py
Lines 59 to 84 in 07b1a01
Since the code to do so would be (nearly) a duplicate, maybe it's an idea to move these NSI-parsing lines to a separate modules file, so that we can just call the same functions?
The text was updated successfully, but these errors were encountered: