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

Missing /content/download controller to deal with files

    Details

      Description

      Now that native support for binary files has been implemented, EZP-23441, /content/download controller must be implemented to be able to download binary files

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          I'm confused... the DownloadController is not meant to be used with the image fieldtype at all. It's a BinaryFile / Media feature. Did you generate an URL with an Image content ?

          Show
          Bertrand Dunogier added a comment - I'm confused... the DownloadController is not meant to be used with the image fieldtype at all. It's a BinaryFile / Media feature. Did you generate an URL with an Image content ?
          Hide
          Miguel das Neves Jacinto (Inactive) added a comment -

          Bertrand Dunogier ok I thought I worked for Images too, but I still think it should not fail with a Fatal error like this, maybe a Cannot be downloaded exception would be more meaningful. We could close this issue and open a new one for that?

          Show
          Miguel das Neves Jacinto (Inactive) added a comment - Bertrand Dunogier ok I thought I worked for Images too, but I still think it should not fail with a Fatal error like this, maybe a Cannot be downloaded exception would be more meaningful. We could close this issue and open a new one for that?
          Hide
          Bertrand Dunogier added a comment -

          Please create a related issue for this, yes. I have prepared a patch that should send a NotFoundException when the file can't be downloaded.

          Show
          Bertrand Dunogier added a comment - Please create a related issue for this, yes. I have prepared a patch that should send a NotFoundException when the file can't be downloaded.
          Hide
          Miguel das Neves Jacinto (Inactive) added a comment - - edited

          QA Approved

          Show
          Miguel das Neves Jacinto (Inactive) added a comment - - edited QA Approved
          Hide
          Paulo Nunes (Inactive) added a comment -

          Related issue: EZP-24479 - "/content/download causes fatal exception when downloading an Image"

          Show
          Paulo Nunes (Inactive) added a comment - Related issue: EZP-24479 - "/content/download causes fatal exception when downloading an Image"

            People

            • Assignee:
              Unassigned
              Reporter:
              Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days Original Estimate - 3 days
                3d
                Remaining:
                Time Spent - 2 days, 4 hours Remaining Estimate - 1 day, 4 hours
                1d 4h
                Logged:
                Time Spent - 2 days, 4 hours Remaining Estimate - 1 day, 4 hours
                2d 4h

                  Agile