absmach / magistrala-ui

UI Repository for Magistrala IoT
9 stars 15 forks source link

[BUG] Remove Owner fields in view entities page #118

Closed ianmuchyri closed 6 months ago

ianmuchyri commented 6 months ago

Is there an existing issue for this?

What were you trying to achieve?

When trying to view specific entities (specifically thing and channel), it results in an error with the HTML rendering due to the owner field no longer being a variable in the entity

What are the expected results?

I expected to be able to view the entity

What are the received results?

The error I get

{"time":"2024-02-06T13:02:29.870500975+03:00","level":"WARN","msg":"View thing failed to complete successfully","duration":"19.791373ms","thing_id":"a82937fb-24d4-4913-a972-59d1deb61b83","error":{"error":"failed to execute template","message":"template: thing.html:108:36: executing \"thing\" at \u003c.Entity.Owner\u003e: can't evaluate field Owner in type sdk.Thing"}}

Steps To Reproduce

  1. log into magistrala UI
  2. Create thing
  3. Click on thing to try view it

In what environment did you encounter the issue?

Magistrala UI Magistrala 0.14.0

Additional information you deem important

No response