Inconsistent threadTrace type int/string in JSON
Bug #1826796 reported by
James Fournie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenSRF |
New
|
Undecided
|
Unassigned |
Bug Description
Testing on demo.evergreenc
It seems like messages sent to Perl services (open-ils.actor, open-ils.pcrud) get a response like:
"threadTrace": 0
However messages coming from C services (open-ils.auth, opensrf.
"threadTrace": "0"
This makes it difficult to write a OpenSRF client in a strongly typed language such as Golang.
I found threadTrace is set in the following places:
Perl Code:
I haven't checked the Python or Java libraries.
description: | updated |
To post a comment you must log in.
"I haven't checked the Python or Java libraries."
And, there is no need. They are almost never used and Java, at least, will be removed, soon. I still have to make a bug for that, but now is probably a good time.
Python needs a maintainer or it will be removed.