Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13811

Typing fast in 'name' filter field of the Hosts table misses trailing character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • ambari-web
    • None

    Description

      Went to the hosts page, focussed on the Name filter field and typed really fast 3 characters 'gsb' hoping to see only hosts prefixed with it. However I was seeing all hosts as the API call to filter only contained 'g' in the POST call and not 'gsb'.

      {
        "RequestInfo": {
          "query": "page_size=10&from=0&Hosts/host_name.matches(.*g.*)"
        }
      }
      

      Attachments

        1. Screen Shot 2015-11-09 at 10.48.16 AM.png
          424 kB
          Andrii Tkach
        2. AMBARI-13811.patch
          4 kB
          Andrii Tkach

        Activity

          People

            atkach Andrii Tkach
            atkach Andrii Tkach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: