Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4180

Better WARN logging for menu items with unresolved site map items

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 5.3.0
    • 5.4.0
    • None
    • Flagged
    • Turing Team 183

    Description

      A client on 11.2 has a lot of menu item warnings but it is unclear on which ones.

      Let's have more information in these WARNs in org.hippoecm.hst.core.sitemenu.AbstractMenuItem#resolveToSiteMapItem() so we know directly what menu item it concerns.

          log.warn("Cannot resolve to sitemap item because HstLink is null or empty. Return null");
      
          log.warn("Cannot resolve to sitemap item because '{}'. Return null.", e.getMessage());
      

      Also investigate if more logging improvements are possible in this area.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: