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

Suppress contentException on missing images

    XMLWordPrintable

Details

    Description

      Currently, when we attempt to render an image that is not present in the filesystem, an exception is raised (ERROR - Couldn't create variation 'original' for image with id ...)
      This behavior is the expected one and should not be an issue, since on normal circunstancies there should never exist references in the database to non existing binary files.

      But, as a developer, it often happens that we need to update the test environment's database, without wishing to update the storage (for instance, if we just need to perform a simple verification, for which the missing image is not critical).

      Ideally this behavior (raising an exception) for missing images should be configurable. By default, the behavior would be the current one, but if the developer override a specific setting, this error could be a silent one (just a warning?)

      Attachments

        Activity

          People

            Unassigned Unassigned
            joaquim.cavalleri-obsolete@ez.no Joaquim Cavalleri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: