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

DataProvider does not support Qore type "data" correctly #4232

Closed
davidnich opened this issue May 5, 2021 · 0 comments
Closed

DataProvider does not support Qore type "data" correctly #4232

davidnich opened this issue May 5, 2021 · 0 comments

Comments

@davidnich
Copy link
Contributor

returns a data provider type based on string only

dnichols@manatee:~/src/qore/git/qore/qlib$ qore -l DataProvider -l reflection -nX 'AbstractDataProviderType::get(new Type("data")).acceptsValue(<00>)'unhandled QORE User exception thrown in TID 1 at 2021-05-05 18:51:02.222608 Wed +02:00 (CEST) in QoreStringDataTypeBase::acceptsValue() (/export/home2/dnichols/src/Qorus/current/qlib/DataProvider/QoreStringDataTypeBase.qc:91-92 (Qore user code))
RUNTIME-TYPE-ERROR: value of type "binary" cannot be converted to type "data"
call stack:
  1: QoreStringDataTypeBase::acceptsValue() (<command-line>:1 (Qore user code))
@davidnich davidnich added this to the 0.9.15 milestone May 5, 2021
@davidnich davidnich self-assigned this May 5, 2021
@davidnich davidnich added this to To do in Qore Development via automation May 5, 2021
@davidnich davidnich added not-c++ and removed c++ labels May 5, 2021
@davidnich davidnich changed the title DataProvider does not support Qore type data correctly DataProvider does not support Qore type "data" correctly May 8, 2021
@davidnich davidnich added the fixed label May 8, 2021
Qore Development automation moved this from To do to Done May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant