[MGNLUI-2523] Searching for property with camelCase name finds no matches Created: 16/Dec/13  Updated: 17/Dec/13  Resolved: 16/Dec/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.2
Fix Version/s: 5.2.1

Type: Bug Priority: Major
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-464 Case insensitive search does not work Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 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


Generated at Mon Feb 12 08:57:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.