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

Improve handling of missing binary files

    XMLWordPrintable

Details

    • Story
    • Resolution: Fixed
    • Blocker
    • 5.4.0-beta1
    • 5.4-dev
    • None

    Description

      Use-case

      As a developer, I want to develop with missing binary/image files

      It is it seems quite customary to run eZ Publish with out-of-sync database & vardir in dev mode. This was hotfixed dirtily in the past (EZP-20502), but should be handled better, as a real feature.

      Specification

      A TolerantIOService encapsulates the original. It will ignore NotFound errors from the handlers, and return MissingBinaryFile objects when applicable so that callers can operate as expected (this isn't ideal, but it is pretty much what was happening, in a dirtier way, until then).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bertrand.dunogier@ibexa.co Bertrand Dunogier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: