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

avoid Symfony exception when file is missing for ezimage attribute

    Details

      Description

      It seems that a fatal exception is thrown when the physical file corresponding to an ezimage is not found on disk.
      The error comes from a filesize() call raising a warning.

      Since historically eZ always looses some image files after a period of intense editorial activity, this should probably be remediated somehow...

        Issue Links

          Activity

          Show
          Bertrand Dunogier added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/b487964 .
          Hide
          Bertrand Dunogier added a comment -

          Then I won't revert it. But it needs to go through QA on 5.1 then.

          Show
          Bertrand Dunogier added a comment - Then I won't revert it. But it needs to go through QA on 5.1 then.
          Hide
          Gunnstein Lye added a comment -

          Reopen to get it fixed/QAed in 5.1 and 5.0.

          Show
          Gunnstein Lye added a comment - Reopen to get it fixed/QAed in 5.1 and 5.0.
          Hide
          Jérôme Vieilledent (Inactive) added a comment - - edited

          Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/a4f1398f803694326b7050941495acfe55922803

          (Please note that the commit message is misleading regarding the issue number, it wrongly refers to EZP-20505, while it is for EZP-20502).

          Show
          Jérôme Vieilledent (Inactive) added a comment - - edited Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/a4f1398f803694326b7050941495acfe55922803 (Please note that the commit message is misleading regarding the issue number, it wrongly refers to EZP-20505 , while it is for EZP-20502 ).
          Hide
          Joao Pingo (Inactive) added a comment -

          QA Approved

          Show
          Joao Pingo (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Gaetano Giunta (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 4 hours
                3d 4h