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

Internal error is thrown when searching ParameterType by valueType #229

Open
RKrahl opened this issue Feb 6, 2020 · 0 comments
Open

Internal error is thrown when searching ParameterType by valueType #229

RKrahl opened this issue Feb 6, 2020 · 0 comments
Labels

Comments

@RKrahl
Copy link
Member

RKrahl commented Feb 6, 2020

This search should yield all numeric ParameterType, but raises InternalError:

>>> client.search("SELECT pt FROM ParameterType pt WHERE pt.valueType = 'NUMERIC'")
<suds.sax.document.Document object at 0x7f6ffe9cf7f0>
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/icat/client.py", line 557, in search
    raise translateError(e)
icat.exception.ICATInternalError: INTERNAL org.icatproject.core.IcatException

icat.log and server.log attached: apparently icat.server fails to cast the string in the search expression to enum.

icat.log
server.log

@RKrahl RKrahl added the bug label Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant