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
          62 kB
          Puventhira Pragasam
        2. image-2020-01-27-22-15-29-113.png
          8 kB
          Puventhira Pragasam
        3. image-2020-01-27-22-15-58-734.png
          72 kB
          Puventhira Pragasam
        4. image-2020-01-27-22-16-17-186.png
          14 kB
          Puventhira Pragasam
        5. image-2020-01-27-22-17-37-266.png
          38 kB
          Puventhira Pragasam
        6. screenshot-1.png
          190 kB
          Puventhira Pragasam
        7. screenshot-2.png
          41 kB
          Puventhira Pragasam

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

            Bugfix Automation Bot made changes -
            Support reference count Original: 1 New: 2
            Oliver Shen made changes -
            Status Original: Long Term Backlog [ 12073 ] New: Gathering Impact [ 12072 ]
            Makisa Appleton made changes -
            Status Original: Needs Triage [ 10030 ] New: Long Term Backlog [ 12073 ]
            Jen Marfell (Inactive) made changes -
            Component/s New: Macros - Search [ 42861 ]
            Component/s Original: Macros - Other Macros [ 42868 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Puventhira Pragasam (Inactive) made changes -
            Affects Version/s New: 7.2.1 [ 90692 ]
            Puventhira Pragasam (Inactive) made changes -
            Description Original: h3. Issue Summary
            Inconsistent behavior with Confluence search Livesearch macro with *Restrict to label(s)* value

            h3. Steps to Reproduce
            # Create a page with a *Livesearch* macro. Add a few labels to the macro (under *restrict to label(s)*)
            # Ensure to have a page with those labels
            # Search for the page via the *Livesearch* macro
             !image-2020-01-27-22-17-37-266.png|thumbnail!
            # Click on enter/click on the search icon
            # No page will be available

            h3. Expected Results
             !image-2020-01-27-22-15-07-883.png|thumbnail!
             !image-2020-01-27-22-15-29-113.png|thumbnail!
            {noformat}
            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
            {noformat}

            h3. Actual Results
             !image-2020-01-27-22-15-58-734.png|thumbnail!
             !image-2020-01-27-22-16-17-186.png|thumbnail!
            {noformat}
            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
            {noformat}

            h3. Workaround
            Currently, there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary
            Inconsistent behavior with Confluence search Livesearch macro with *Restrict to label(s)* value

            h3. Steps to Reproduce
            h5. Scenario 1
            # Create a page with a *Livesearch* macro. Add a few labels to the macro (under *restrict to label(s)*)
            # Ensure to have a page with those labels
            # Search for the page via the *Livesearch* macro
             !image-2020-01-27-22-17-37-266.png|thumbnail!
            # Click on enter/click on the search icon
            # No page will be available

            h5. Scenario 2
            # Create a page with a *Livesearch* macro. Add a few labels to the macro (under *restrict to label(s)*)
            # Ensure to have a page with those labels
            # Search for the page via the *Livesearch* macro
             !image-2020-01-27-22-17-37-266.png|thumbnail!
            # Click on *See more results for '<search keyword>*
            # No page will be available

            h3. Expected Results
             !image-2020-01-27-22-15-07-883.png|thumbnail!
             !image-2020-01-27-22-15-29-113.png|thumbnail!
            {noformat}
            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
            {noformat}

            h3. Actual Results
            h5. Scenario 1
             !image-2020-01-27-22-15-58-734.png|thumbnail!
             !image-2020-01-27-22-16-17-186.png|thumbnail!
            {noformat}
            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
            {noformat}

            h5. Scenario 2
             !screenshot-1.png|thumbnail!
             !screenshot-2.png|thumbnail!
            {noformat}
            http://localhost:8090/rest/searchv3/1.0/search?queryString=macro&where=conf_all
            {noformat}

            h3. Workaround
            Currently, there is no known workaround for this behavior. A workaround will be added here when available
            Puventhira Pragasam (Inactive) made changes -
            Attachment New: screenshot-2.png [ 383749 ]
            Puventhira Pragasam (Inactive) made changes -
            Attachment New: screenshot-1.png [ 383748 ]
            Puventhira Pragasam (Inactive) made changes -
            Description Original: h3. Issue Summary
            Inconsistent behavior with Confluence search Livesearch macro with *Restrict to label(s)* value

            h3. Steps to Reproduce
            # Create a page with a *Livesearch* macro. Add a few labels to the macro (under *restrict to label(s)*)
            # Ensure to have a page with those labels
            # Search for the page via the *Livesearch* macro
             !image-2020-01-27-22-17-37-266.png|thumbnail!
            # Click on enter
            # No page will be available

            h3. Expected Results
             !image-2020-01-27-22-15-07-883.png|thumbnail!
             !image-2020-01-27-22-15-29-113.png|thumbnail!
            {noformat}
            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
            {noformat}

            h3. Actual Results
             !image-2020-01-27-22-15-58-734.png|thumbnail!
             !image-2020-01-27-22-16-17-186.png|thumbnail!
            {noformat}
            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
            {noformat}

            h3. Workaround
            Currently, there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary
            Inconsistent behavior with Confluence search Livesearch macro with *Restrict to label(s)* value

            h3. Steps to Reproduce
            # Create a page with a *Livesearch* macro. Add a few labels to the macro (under *restrict to label(s)*)
            # Ensure to have a page with those labels
            # Search for the page via the *Livesearch* macro
             !image-2020-01-27-22-17-37-266.png|thumbnail!
            # Click on enter/click on the search icon
            # No page will be available

            h3. Expected Results
             !image-2020-01-27-22-15-07-883.png|thumbnail!
             !image-2020-01-27-22-15-29-113.png|thumbnail!
            {noformat}
            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
            {noformat}

            h3. Actual Results
             !image-2020-01-27-22-15-58-734.png|thumbnail!
             !image-2020-01-27-22-16-17-186.png|thumbnail!
            {noformat}
            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
            {noformat}

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

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

                Created:
                Updated: