Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21297

As a 5.x user I expect missing images to be treated as error, not full 500 exception

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: 2013.4, 2013.05, 2013.06, 5.1
    • Component/s: None
    • Environment:

      linux debian

      Description

      Discussed here : http://share.ez.no/forums/ez-publish-5-platform/user-does-not-have-access-to-read-content/comment80276

      "Actually, in dev mode, i get an exception if trying to load an image, the file doesn't exist on disk. This prevents me to load anything of the page.

      Is there anyway to maybe change this to a warning or something like that?"

      I understand why an exception is thrown. The real problem is the way it is caught or not. A 404 on an image can't generate a "500 error" on the page.

      For me, it is the same problem than : https://jira.ez.no/browse/EZP-20782
      We need a native exception handler.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Fiber_Optic Nicolas Lescure
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: