-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
bugSomething isn't workingSomething isn't workingneeds reviewReview required by team memberReview required by team member
Description
Describe the bug
Command tab does not display Command request schema (name
, displayName
and other parameters), just a blank field to enter information
An older IoT Explorer 15.2
version did not have this bug. The application was updated with the following commands
apt remove azure-iot-explorer
apt install ./azure-iot-explorer_0.15.9_amd64.deb
15.2
version was later installed back and the issue was resolved
To Reproduce
Steps to reproduce the behavior:
- Define a PnP interface which contains a Command with request schema
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:XXX:ipBlockInterface;1",
"@type": "Interface",
"displayName": "XXXIpBlockInterface",
"contents": [
{
"@type": "Command",
"name": "ip_block_push",
"displayName": "Push to IP Block",
"request": {
"name": "request",
"displayName": "Request",
"schema": {
"@type": "Object",
"fields": [
{
"name": "ip",
"displayName": "IP address",
"schema": "string"
},
{
"name": "destination_ip",
"displayName": "Destination IP address",
"schema": "string"
},
{
"name": "port",
"displayName": "Port address",
"schema": "string"
},
{
"name": "proto",
"displayName": "Protocol",
"schema": "string"
}
]
}
}
}
]
}
- Check IoT Plug and Play component Commands tab
- See error (no command request name, display name rendered)
Expected behavior
Command request name, display name and other information should be shown. In this particular example the first field should show Destination IP address, the second field Port address
Desktop (please complete the following information):
- Ubuntu
- 22.04.2 LTS
azure-iot-explorer_0.15.9_amd64.deb
andazure-iot-explorer_0.15.8_amd64.deb
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds reviewReview required by team memberReview required by team member