Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4465

gracefully catch incorrect free text searches

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • r2.16.01, r2.17.00
    • None
    • None

    Description

      When injecting an invalid xpath, invalid free text search, etc etc into a faceted navigation, we should avoid the current NPE that is thrown:

      java.lang.NullPointerException
      at org.hippoecm.repository.jackrabbit.facetnavigation.FacetsAvailableNavigationProvider.populate(FacetsAvailableNavigationProvider.java:155)
      at org.hippoecm.repository.jackrabbit.facetnavigation.FacetsAvailableNavigationProvider.populate(FacetsAvailableNavigationProvider.java:307)
      at org.hippoecm.repository.jackrabbit.HippoNodeId.populate(HippoNodeId.java:67)

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: