Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-307

Server list doesn't work properly when there is no server in the list

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Alpha1
    • None
    • User Interface
    • None

    Description

      It should be displaying 0 server, 0 up, 0... and it should have the message saying that no server is registered.

      Instead, the UI fails with:
      {"errorMsg":"ResourceType not found on any of the following paths: [[Types[Tenant], Ids[fbb60b41-3c7d-4c19-a14d-2b4bd175152d], Related[, rel='contains', role=SOURCE], Types[ResourceType], Ids[WildFly Server]]]","details":{"entityType":"ResourceType","path":[[

      {"types":["org.hawkular.inventory.api.model.Tenant"]}

      ,

      {"ids":["fbb60b41-3c7d-4c19-a14d-2b4bd175152d"]}

      ,

      {"entity":null,"relationshipName":"contains","relationshipId":null,"entityRole":"SOURCE"}

      ,

      {"types":["org.hawkular.inventory.api.model.ResourceType"]}

      ,

      {"ids":["WildFly Server"]}

      ]]}}

      Attachments

        Activity

          People

            alexandrem_jira Alexandre Mendonça (Inactive)
            theute Thomas Heute
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: