[wp-trac] [WordPress Trac] #24805: Error when uploading MP3 with embedded cover image

WordPress Trac noreply at wordpress.org
Fri Jul 19 21:21:17 UTC 2013


#24805: Error when uploading MP3 with embedded cover image
--------------------------+-----------------------------
 Reporter:  tollmanz      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 When uploading an MP3 with an embedded album cover and the appropriate
 theme support and post type support enabled, an error is thrown when the
 MP3 upload completes.

 To Reproduce:

 1. Activate Twenty Thirteen
 1. Add the following to its '''functions.php''' file (as indicated in
 [http://core.trac.wordpress.org/ticket/23673#comment:6 23673]):
 {{{
 add_post_type_support( 'attachment:audio', 'thumbnail' );
 add_post_type_support( 'attachment:video', 'thumbnail' );
 add_theme_support( 'post-thumbnails', 'attachment:audio' );
 add_theme_support( 'post-thumbnails', 'attachment:video' );
 }}}
 1. Go to ''Posts → Add New''
 1. Enter a title
 1. Choose ''Audio'' in the ''Format'' metabox
 1. Click ''Add Media''
 1. Drag an MP3 with an embedded image into the lightbox
 1. The MP3 uploads
 1. On completion, the following error message is displayed: "Error 2-01 On
 A Good Day.mp3 An error occurred in the upload. Please try again later."
 [[Image(http://f.cl.ly/items/2j0Q3d07421H1Y2w2C29/the-error.png)]]
 10. The MP3 is not shown in the media area
 1. Click the ''X'' to close the window
 1. Click ''Save Draft''
 1. Upon reload, click ''Add Media''
 1. The MP3 file and the album cover are now available to be selected
 [[Image(http://f.cl.ly/items/0J2W1V2R1F203K0o243I/the-media.png)]]

 Just to be clear, the MP3 and the album cover both upload successfully;
 however, the error is displayed, which blocks you from choosing the MP3
 and inserting into into the post until you reload the post edit screen.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24805>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list