Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.8.9
    • Fix Version/s: None
    • Component/s: API (A)
    • Labels:
    • Environment:
      RHEL 5.5

      Description

      Hostgroup wildcard searches do not return any hostgroups, the following JSON request is correct as per the API documentation. I have also tried with a percent symbol as the wildcard character. api version is reported as 1.3

      {"jsonrpc": "2.0", "method":"hostgroup.get","params": {"output": "extend", "search":

      {"name": "Template*"}

      ,"searchWildcardsEnabled":1},"auth": "XXXXX", "id": 0}

      Should return the Templates group, but returns an empty array. Removing the wildcard character, but leaving the searchWildcardsEnabled flag enabled returns all hostgroups with Template anywhere in the name.

      It should be possible to search for 'Templ*' or 'Templ%' and have the Templates group returned. This is not currently the case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maxlock Max Lock
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: