V2X Hub is a message handler that acts as a translator and data aggregator/disseminator for infrastructure components of a connected vehicle deployment.
Apache License 2.0
123
stars
69
forks
source link
Telematic Plugin: Available topic response return null value for topics field when there is no available topic #570
Available topic response return null value for topics field when there is no available topic. This cause issue with requester when it parses the response assuming the topics field is always an array.
Version
4.3.0 (Current)
Expected Behavior
Available topic response should return empty array if there is no topic.
Actual Behavior
Available topic response return null if there is no topic.
Steps to Reproduce the Actual Behavior
Run v2xhub
Run telematic tool
enable telematic plugin
Monitor the error output from the telematic server terminal
Summary
Available topic response return null value for topics field when there is no available topic. This cause issue with requester when it parses the response assuming the topics field is always an array.
Version
4.3.0 (Current)
Expected Behavior
Available topic response should return empty array if there is no topic.
Actual Behavior
Available topic response return null if there is no topic.
Steps to Reproduce the Actual Behavior
Related Work
https://github.com/usdot-fhwa-OPS/V2X-Hub/pull/569