Skip to content

Device deletion remains pending when devices declare an invalid introspection #1179

@Pavinati

Description

@Pavinati

Deleting a device with an invalid introspection crashes realm management as it tries to load the interface definition from the DB.

Steps to reproduce

  • Register a device with an invalid interface in its introspection
  • Delete the device

Expected outcome
The device is deleted

Actual outcome
Realm management crashes and the device remains pending "in deletion"

Metadata

Metadata

Assignees

No one assigned

    Labels

    app:realm_managementThis issue or pull request is about astarte_realm_management applicationbugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions