openTCS / opentcs-commadapter-vda5050

An implementation of the VDA5050 interface for openTCS (by Fraunhofer IML)
https://www.opentcs.org/
MIT License
34 stars 12 forks source link

Fix bug of no error/information data for v2.0 #8

Closed maxwang001 closed 6 months ago

maxwang001 commented 6 months ago

Description

Exception happens in function toErrorPropertyValue / toInfoPropertyValue in Statemappings.java if no "errors" or "Information" data, but "errors" and "Information" are optional for v2.0.

Checklist

Proposed squash commit message

A short one-line summary (max. 50 characters)

A more detailed explanation of the changes introduced by this merge
request.

* You can use lists here, too.
* Each line should not exceed 72 characters.

Co-authored-by: NAME <EMAIL>
sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

maxwang001 commented 6 months ago

Close this and see detail in issue 6