[wp-trac] [WordPress Trac] #10450: Errors while downloading a updated version zip result in PCLZIP_ERR_BAD_FORMAT (-10) message leaving the user alone w/o a general information what happened.

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 24 10:30:32 UTC 2009


#10450: Errors while downloading a updated version zip result in
PCLZIP_ERR_BAD_FORMAT (-10) message leaving the user alone w/o a general
information what happened.
-----------------------------+----------------------------------------------
 Reporter:  hakre            |       Owner:  dd32          
     Type:  defect (bug)     |      Status:  new           
 Priority:  low              |   Milestone:  Future Release
Component:  Upgrade/Install  |     Version:  2.8.1         
 Severity:  minor            |    Keywords:  needs-patch   
-----------------------------+----------------------------------------------
Changes (by dd32):

  * milestone:  2.9 => Future Release


Comment:

 > this was fixed, no?

 The underlying cause in one specific case was, yes.

 The non-user-friendlyness of the error in the event it does happen in the
 future, is not.

 Punting to future pending a patch to give a better error.

 I'd suggest something similar to this:
 {{{
 if ( error == PCLZIP_ERR_BAD_FORMAT )
 error = 'Download incomplete, Please try again, or seek help in the
 support forumsif problem persists'
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10450#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list