Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-59384

Inconsistent behavior with Livesearch macro and Confluence search

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.0.4, 7.1.1, 7.2.1
    • Macros - Search
    • None

      Issue Summary

      Inconsistent behavior with Confluence search Livesearch macro with Restrict to label(s) value

      Steps to Reproduce

      Scenario 1
      1. Create a page with a Livesearch macro. Add a few labels to the macro (under restrict to label(s))
      2. Ensure to have a page with those labels
      3. Search for the page via the Livesearch macro
      4. Click on enter/click on the search icon
      5. No page will be available
      Scenario 2
      1. Create a page with a Livesearch macro. Add a few labels to the macro (under restrict to label(s))
      2. Ensure to have a page with those labels
      3. Search for the page via the Livesearch macro
      4. Click on See more results for '<search keyword>
      5. No page will be available

      Expected Results


      http://localhost:8090/rest/searchv3/1.0/search?queryString=macro&where=conf_all&labels=test1&labels=+test2&labels=+test3&type=&pageSize=5&highlight=false&sessionUuid=0-0-0-0&_=1580134696117
      

      Actual Results

      Scenario 1


      http://localhost:8090/rest/cql/expressions?cql=siteSearch%20~%20%22macro%22%20AND%20label%20%3D%20%22test2%22%20AND%20label%20%3D%20%22test3%22%20AND%20label%20%3D%20%22test1%22
      
      Scenario 2


      http://localhost:8090/rest/searchv3/1.0/search?queryString=macro&where=conf_all
      

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

        1. image-2020-01-27-22-15-07-883.png
          image-2020-01-27-22-15-07-883.png
          62 kB
        2. image-2020-01-27-22-15-29-113.png
          image-2020-01-27-22-15-29-113.png
          8 kB
        3. image-2020-01-27-22-15-58-734.png
          image-2020-01-27-22-15-58-734.png
          72 kB
        4. image-2020-01-27-22-16-17-186.png
          image-2020-01-27-22-16-17-186.png
          14 kB
        5. image-2020-01-27-22-17-37-266.png
          image-2020-01-27-22-17-37-266.png
          38 kB
        6. screenshot-1.png
          screenshot-1.png
          190 kB
        7. screenshot-2.png
          screenshot-2.png
          41 kB

            [CONFSERVER-59384] Inconsistent behavior with Livesearch macro and Confluence search

            Jason M. added a comment -

            Can we get a workaround or even a root cause for this behavior?

            Jason M. added a comment - Can we get a workaround or even a root cause for this behavior?

            Hope you'll find a workaround for this

            nikita.subbotin added a comment - Hope you'll find a workaround for this

              Unassigned Unassigned
              ppragasam@atlassian.com Puventhira Pragasam (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated: