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

    Details

    • Type: Story Story
    • Status: Closed
    • Priority: High 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.

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          Closing as it duplicates EZP-20502. Subscribe to the other issue to be informed of changes. Thank you for the detailled report !

          Show
          Bertrand Dunogier added a comment - Closing as it duplicates EZP-20502 . Subscribe to the other issue to be informed of changes. Thank you for the detailled report !

            People

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

              Dates

              • Created:
                Updated:
                Resolved: