Uploaded image for project: 'Nuxeo Admin Console'
  1. Nuxeo Admin Console
  2. NAC-11

Incorrect message displayed while for reindexing folder with zero documents using NXQL query

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 23.0.0
    • Component/s: Admin Console

      Description

      Steps to reproduce:

      1. Go to https://ui-2023-test.beta.nuxeocloud.com/nuxeo/nuxeoadmin/

      2. Navigate to a ElasticsearchIndex tab

      3. Navigate to NXQL query tab 

      4. Enter the query for a non-existent document
      (Ex: SELECT * FROM Document WHERE ecm:uuid='7521e1a7-7de1-4d75-9abd-b1da2dfd691c2435342576' OR ecm:ancestorId='7521e1a7-7de1-4d75-9abd-b1da2dfd691c2435342576')
      This query is valid but document with the id '7521e1a7-7de1-4d75-9abd-b1da2dfd691c2435342576' does not exist.

      5. Click Reindex button 

      6. Observe the message displayed

      Expected result: No document matches that query. Please try again with a different query.
      Actual result:  Message displayed is as below: 

      The query could impact performance if it involves high volumes. Documents will not be available for search while reindexing is in progress.

      This action will impact 0 documents and could take approximately . Would you like to continue?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 6 hours Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - 6 hours Remaining Estimate - 3 hours
                  6h