Zend Framework

Edit links always used when uploading files to multipart MIME Zend_Gdata services

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.3
  • Fix Version/s: 1.8.4
  • Component/s: Zend_Gdata
  • Labels:
    None

Description

When uploading files to services requiring multipart-MIME (YouTube, Picasa), the media edit link is always used, even if a different URL is provided by the user.

Activity

Hide
Trevor Johns added a comment -

Fixed in trunk by r16229.

commit 5aa2e3fe8acae2c676e1b782b77d408e56e0e7d4
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Mon Jun 22 03:48:59 2009 +0000

    Patch to fix several bugs in Zend_Gdata_YouTube and Zend_Gdata multipart MIME support.
    
    ZF-7075: Update Zend_Gdata URL constants to include 'api' projection.
    ZF-7076: User specified URLs are now preferred over edit links when working with Zend_Gdata media entries.
    ZF-7077: Rewrite Zend_Gdata MIME streaming support to correct erratic behavior.
    
    git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16229 44c647ce-9c0f-0410-b52a-842ac1e357ba

 library/Zend/Gdata/App.php                        |    2 +-
 library/Zend/Gdata/HttpAdapterStreamingSocket.php |    7 +-
 library/Zend/Gdata/MediaMimeStream.php            |  424 +++------------------
 library/Zend/Gdata/MimeBodyString.php             |   91 +++++
 library/Zend/Gdata/MimeFile.php                   |   65 ++++
 library/Zend/Gdata/YouTube.php                    |    8 +-
 6 files changed, 216 insertions(+), 381 deletions(-)
Show
Trevor Johns added a comment - Fixed in trunk by r16229.
commit 5aa2e3fe8acae2c676e1b782b77d408e56e0e7d4
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Mon Jun 22 03:48:59 2009 +0000

    Patch to fix several bugs in Zend_Gdata_YouTube and Zend_Gdata multipart MIME support.
    
    ZF-7075: Update Zend_Gdata URL constants to include 'api' projection.
    ZF-7076: User specified URLs are now preferred over edit links when working with Zend_Gdata media entries.
    ZF-7077: Rewrite Zend_Gdata MIME streaming support to correct erratic behavior.
    
    git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16229 44c647ce-9c0f-0410-b52a-842ac1e357ba

 library/Zend/Gdata/App.php                        |    2 +-
 library/Zend/Gdata/HttpAdapterStreamingSocket.php |    7 +-
 library/Zend/Gdata/MediaMimeStream.php            |  424 +++------------------
 library/Zend/Gdata/MimeBodyString.php             |   91 +++++
 library/Zend/Gdata/MimeFile.php                   |   65 ++++
 library/Zend/Gdata/YouTube.php                    |    8 +-
 6 files changed, 216 insertions(+), 381 deletions(-)
Hide
Trevor Johns added a comment -

Merged r16229 from trunk to release-1.8.

Marking as fixed for next mini release.

commit 6b8e06a2df94cc3c87dfb90d2bb1afc91ab26681
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Mon Jun 22 03:57:13 2009 +0000

    Merge r16229 from trunk to release-1.8.
    
    Patch to fix several bugs in Zend_Gdata_YouTube and Zend_Gdata multipart MIME support.
    
    ZF-7075: Update Zend_Gdata URL constants to include 'api' projection.
    ZF-7076: User specified URLs are now preferred over edit links when working with Zend_Gdata media entries.
    ZF-7077: Rewrite Zend_Gdata MIME streaming support to correct erratic behavior.
    
    git-svn-id: http://framework.zend.com/svn/framework/standard/branches/release-1.8@16234 44c647ce-9c0f-0410-b52a-842ac1e357ba

 library/Zend/Gdata/App.php                        |    2 +-
 library/Zend/Gdata/HttpAdapterStreamingSocket.php |    7 +-
 library/Zend/Gdata/MediaMimeStream.php            |  424 +++------------------
 library/Zend/Gdata/MimeBodyString.php             |   91 +++++
 library/Zend/Gdata/MimeFile.php                   |   65 ++++
 library/Zend/Gdata/YouTube.php                    |    8 +-
 6 files changed, 216 insertions(+), 381 deletions(-)
Show
Trevor Johns added a comment - Merged r16229 from trunk to release-1.8. Marking as fixed for next mini release.
commit 6b8e06a2df94cc3c87dfb90d2bb1afc91ab26681
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Mon Jun 22 03:57:13 2009 +0000

    Merge r16229 from trunk to release-1.8.
    
    Patch to fix several bugs in Zend_Gdata_YouTube and Zend_Gdata multipart MIME support.
    
    ZF-7075: Update Zend_Gdata URL constants to include 'api' projection.
    ZF-7076: User specified URLs are now preferred over edit links when working with Zend_Gdata media entries.
    ZF-7077: Rewrite Zend_Gdata MIME streaming support to correct erratic behavior.
    
    git-svn-id: http://framework.zend.com/svn/framework/standard/branches/release-1.8@16234 44c647ce-9c0f-0410-b52a-842ac1e357ba

 library/Zend/Gdata/App.php                        |    2 +-
 library/Zend/Gdata/HttpAdapterStreamingSocket.php |    7 +-
 library/Zend/Gdata/MediaMimeStream.php            |  424 +++------------------
 library/Zend/Gdata/MimeBodyString.php             |   91 +++++
 library/Zend/Gdata/MimeFile.php                   |   65 ++++
 library/Zend/Gdata/YouTube.php                    |    8 +-
 6 files changed, 216 insertions(+), 381 deletions(-)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: