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

Searching for property with camelCase name finds no matches

XMLWordPrintable

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

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD