Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-2523

Searching for property with camelCase name finds no matches

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.2.1
    • 5.2
    • None

    Description

      To reproduce

      • search for 'appClass' in configuration app
      • there should be about 32 matches, e.g. /modules/contacts/apps/contacts
        Outcome
      • Zero results.

      The query being executed is the following

      select * from [nt:base] as t where (([jcr:primaryType] = 'mgnl:content' or [jcr:primaryType] = 'mgnl:contentNode') and (lower(localname()) LIKE 'appclass%' or t.['appclass'] IS NOT NULL or contains(t.*, 'appclass')) )
      

      The problem seems to be that case-insensitive search does not work when it comes to properties, whereas it works for node names

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD