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

[BUG] boolean payload state is display as "yes"/"no" for an iot plug and play component #637

Open
ryanwinter opened this issue Aug 22, 2023 · 0 comments
Labels
bug Something isn't working needs review Review required by team member

Comments

@ryanwinter
Copy link
Contributor

Describe the bug
Boolean state in a DTDL command's request payload is rendered with the option of yes/no instead of true/false. This issue was introduced in version 0.15.8.

To Reproduce
Steps to reproduce the behavior:

  1. Install 0.15.8 or later
  2. Examine a device that has a DTDL model with a command that uses a boolean in the request payload, such as dtmi:azurertos:devkit:gsgmxchip;2.
  3. Examine the IoT Plug and Play components command panel.
  4. Observe that it provides state options as "Yes"/"No" instead of "True"/"False".

Expected behavior
Boolean values should be true/false, not yes/no.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • OS 11
  • 0.15.8.0
@ryanwinter ryanwinter added bug Something isn't working needs review Review required by team member labels Aug 22, 2023
@ryanwinter ryanwinter changed the title [BUG] <Enter bug title> [BUG] boolean payload state is display as "yes"/"no" for a iot plug and play component Aug 22, 2023
@ryanwinter ryanwinter changed the title [BUG] boolean payload state is display as "yes"/"no" for a iot plug and play component [BUG] boolean payload state is display as "yes"/"no" for an iot plug and play component Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs review Review required by team member
Projects
None yet
Development

No branches or pull requests

1 participant