In mac servers:

When clicking on the "Download" Link under "Preview" in the "Apple News" tab, the .zip file does not get generated, the issue is presumably related to this PHP bug: http://php.net/manual/en/ziparchive.open.php#118273

Using the suggestion there of implementing ZipArchive::OVERWRITE|ZipArchive::CREATE, resolves the issue.

System : Darwin ---.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Sep 1 15:01:16 PDT 2016; root:xnu-3248.60.11~2/RELEASE_X86_64 x86_64
Server API Apache 2.0 Handler
Apache Version Apache/2.4.18 (Unix)
Apache API Version 20120211
Loaded Modules core mod_so http_core prefork mod_authn_file mod_authn_core mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_core mod_access_compat mod_auth_basic mod_reqtimeout mod_filter mod_deflate mod_mime mod_log_config mod_env mod_expires mod_headers mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_fcgi mod_proxy_scgi mod_proxy_wstunnel mod_proxy_ajp mod_proxy_balancer mod_proxy_express mod_slotmem_shm mod_lbmethod_byrequests mod_lbmethod_bytraffic mod_lbmethod_bybusyness mod_unixd mod_status mod_autoindex mod_negotiation mod_dir mod_alias mod_rewrite mod_php5 mod_hfs_apple2

Regards

CommentFileSizeAuthor
#8 2871877-8.patch954 bytesvijaycs85
preview.inc_.patch665 bytesbryanrice

Comments

BryanRice created an issue. See original summary.

  • m4olivei committed 3bc6203 on 7.x-1.x authored by BryanRice
    Issue #2871877 by BryanRice: Download link under "Preview" does not work
    

  • m4olivei committed 7c65817 on 7.x-2.x authored by BryanRice
    Issue #2871877 by BryanRice: Download link under "Preview" does not work
    
m4olivei’s picture

Thanks @BryanRice! Committed to 7.x-1.x and 7.x-2.x.

m4olivei’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

vijaycs85’s picture

Version: 7.x-1.0 » 8.x-1.x-dev
Status: Closed (fixed) » Patch (to be ported)

Let's port to 8.x

vijaycs85’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new954 bytes

Status: Needs review » Needs work

The last submitted patch, 8: 2871877-8.patch, failed testing. View results

vijaycs85’s picture

Status: Needs work » Fixed

  • vijaycs85 committed cbfe815 on 8.x-1.x
    Issue #2871877 by vijaycs85, BryanRice, m4olivei: Download link under "...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.