Uploaded image for project: 'Imaging'
  1. Imaging
  2. MGNLIMG-129

Images that don't exist cause a 500 instead of a 404

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.2.8, 3.3.2, 3.4.1
    • 2.2.4, 3.0.3
    • None

      When an image is requested on a path that does not exist, the code throws a PathNotFoundException in info.magnolia.module.templatingkit.imaging.generation.STKParameterProvider#83.

      This gets not handled in info.magnolia.imaging.ImagingServlet#83 and results in a 500 error.

      Better would be to handle this situation and return a 404 error.

        Acceptance criteria

              mmuehlebach Michael Mühlebach
              rico.jansen Rico Jansen
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD