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] Crash (blank screen) when using contents without Array #451

Closed
rido-min opened this issue Jul 13, 2021 · 1 comment
Closed

[BUG] Crash (blank screen) when using contents without Array #451

rido-min opened this issue Jul 13, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@rido-min
Copy link
Member

DTDL allows to define contents as array or an object.

When using object, IoTExplorer crashes and shows a blank screen.

Example model:

{
  "@context": "dtmi:dtdl:context;2",
  "@id": "dtmi:test:contentsWithObject;1",
  "@type": "Interface",
  "contents": {
    "@type": "Property",
    "name": "myProp",
    "schema": "string"
  }
}

Note the .NET parser allows this syntax

@rido-min rido-min added bug Something isn't working needs review Review required by team member labels Jul 13, 2021
@YingXue YingXue removed the needs review Review required by team member label Jul 15, 2021
@YingXue
Copy link
Member

YingXue commented Jul 28, 2021

release 0.14.5 is now out with fix. closing.

@YingXue YingXue closed this as completed Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants