You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataProvider types based on string that accept multiple input types with conversions but are not soft types throw spurious errors at runtime with non-string types
#4471
Closed
davidnich opened this issue
Mar 25, 2022
· 0 comments
unhandled QORE User exception thrown in TID 1 at 2022-03-25 06:57:34.214318 Fri +01:00 (CET) in QoreStringDataTypeBase::acceptsValue() (/home/david/src/Qorus/current/qlib/DataProvider/QoreStringDataTypeBase.qc:91-92 (Qore user code))
INVALID-REQUEST: invalid request argument for request "enable": RUNTIME-TYPE-ERROR: error in type "hash<auto>" field "job": RUNTIME-TYPE-ERROR: value of type "integer" cannot be converted to type "job" (while setting field "job")
call stack:
10: RETHROW at ../bin/qdp:144)
9: RETHROW at /home/david/src/Qorus/current/qlib/DataProvider/AbstractDataProvider.qc:562)
8: RETHROW at /home/david/src/Qorus/current/qlib/DataProvider/HashDataType.qc:116)
7: RETHROW at /home/david/src/Qorus/current/qlib/DataProvider/AbstractDataField.qc:175)
6: QoreStringDataTypeBase::acceptsValue() (/home/david/src/Qorus/current/qlib/DataProvider/AbstractDataField.qc:173 (Qore user code))
5: AbstractDataField::acceptsValue() (/home/david/src/Qorus/current/qlib/DataProvider/HashDataType.qc:114 (Qore user code))
4: HashDataType::acceptsValue() (/home/david/src/Qorus/current/qlib/DataProvider/AbstractDataProvider.qc:560 (Qore user code))
3: AbstractDataProvider::doRequest() (../bin/qdp:341 (Qore user code))
2: QdpCmd::doRequest() (../bin/qdp:139 (Qore user code))
1: QdpCmd::constructor() (<builtin>:-1 (Qore user code))
The text was updated successfully, but these errors were encountered:
ex:
The text was updated successfully, but these errors were encountered: