Skip to content
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

UnicodeDecodeError if unicode characters are entered into the listing search field #2284

Open
ramonski opened this issue Nov 2, 2017 · 0 comments
Milestone

Comments

@ramonski
Copy link
Contributor

ramonski commented Nov 2, 2017

Steps to reproduce

Go to the client listing and search for e.g. süd

Current behavior

UnicodeDecodeError occurs

Expected behavior

Search is working

Screenshot (optional)

Traceback:

2017-11-02T11:04:14 ERROR Bika ClientAnalysisRequestsView: sort_on is 'created', not a valid column
  Module bika.lims.browser.bika_listing, line 1297, in __init__
  Module bechem.lims.browser.clientfolder, line 165, in folderitems
  Module bika.lims.browser.bika_listing, line 1035, in folderitems
  Module Products.AdvancedQuery, line 88, in _evalAdvancedQuery
  Module Products.AdvancedQuery.eval, line 40, in eval
  Module Products.AdvancedQuery.eval, line 16, in _eval
  Module Products.AdvancedQuery.AdvancedQuery, line 220, in _eval
  Module Products.AdvancedQuery.AdvancedQuery, line 233, in _eval
  Module Products.AdvancedQuery.AdvancedQuery, line 84, in _eval
  Module Products.AdvancedQuery.AdvancedQuery, line 279, in _applyIndex
  Module Products.PluginIndexes.common.UnIndex, line 403, in _apply_index
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
```
@ramonski ramonski added this to the 3.4.0 milestone Nov 2, 2017
@ramonski ramonski self-assigned this Nov 2, 2017
@ramonski ramonski removed their assignment Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant