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

Wildcard searches crash in content apps on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 5.6.12, 5.7.6
    • None
    • None

    Description

      The reason is the path check with a filesystem library. On windows a InvalidPathException is thrown and not catched.

      See info.magnolia.ui.workbench.search.SearchJcrContainer#getQueryWhereClauseSearch

      if (Path.isAbsolute(escapedFullTextExpression)) {
      

      Please change this implementation like you describe on info.magnolia.cms.core.Path#isAbsolute to solve this issue.

      Steps to reproduce(OS: Windows; Magnolia:5):
      1. Go to Pages App.
      2. Look for a page using a wildcard, for instance: abou*
      3. An exception comes out.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              miruela Mercedes Iruela
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD