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

AbstractResourceContainer logs warnings on 404

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.26.11
    • None
    • None

    Description

      When an existing folder (but not a valid resource) is requested through the BinariesServlet, a RepositoryException is thrown and a warning is logged. For example: http://mysite.com/binaries/content/assets. For a 404 situation such as this, a warning in the logs is unexpected and unnecessary.

      I've attached a patch that adds some extra checks to prevents the RepositoryException from being needlessly thrown, so no warnings are logged when a 404 occurs.

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              zzzrbeemsterboer zzzRick Beemsterboer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: