-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
AR Add: No sample points are found if a sample type was set #443
Labels
Comments
In the background happens a This unicode transform comes from
A better approach could be to use
or a solutions like this one: |
Tested and it works after applying the Upgrade step 1.1.8 |
xispa
added a commit
that referenced
this issue
Aug 30, 2018
ast does not convert "null" to python's None and the following Traceback is thrown: Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 48, in call_object Module bika.lims.browser.widgets.referencewidget, line 204, in __call__ Module bika.lims.browser.client.ajax, line 31, in __call__ Module bika.lims.adapters.referencewidgetvocabulary, line 44, in __call__ Module ast, line 80, in literal_eval Module ast, line 63, in _convert Module ast, line 62, in <genexpr> Module ast, line 60, in _convert Module ast, line 79, in _convert ValueError: malformed string ast.literal_eval has been replaced by built-in json.loads, and to overcome the issue about unicodes: #443 a function that converts unicodes to strings recursively has been added, as suggested in the same issue above
ramonski
pushed a commit
that referenced
this issue
Aug 31, 2018
ast does not convert "null" to python's None and the following Traceback is thrown: Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 48, in call_object Module bika.lims.browser.widgets.referencewidget, line 204, in __call__ Module bika.lims.browser.client.ajax, line 31, in __call__ Module bika.lims.adapters.referencewidgetvocabulary, line 44, in __call__ Module ast, line 80, in literal_eval Module ast, line 63, in _convert Module ast, line 62, in <genexpr> Module ast, line 60, in _convert Module ast, line 79, in _convert ValueError: malformed string ast.literal_eval has been replaced by built-in json.loads, and to overcome the issue about unicodes: #443 a function that converts unicodes to strings recursively has been added, as suggested in the same issue above
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Current behavior
No Sample Points are found
Expected behavior
Sample Points with no Sample Type attached are listed
Screenshot (optional)
The text was updated successfully, but these errors were encountered: