For a while now the YouTubeCFC component has not been able to upload videos to YouTube. While it worked fine when initially released, some engineer at YouTube decided to tighten up some code some place and that change revealed a bug with ColdFusion and CFHTTP when doing multipart form posts.
To fix this bug, Adobe has released a hot fix that actually adds a new attribute to the cfhttp tag (great, the WACK is now out of date): multiparttype
Here is an example of it in use in my CFC:
1 <cfhttp url="#theurl#" method="post" result="result" multiparttype="related">
If you try to use the CFC without the hotfix, you will get an attribute validation error for the tag. The hotfix also includes a fix for ColdFusion 7. I want to give a big thank you to Adobe's Michael Collins and the other engineers who worked with me to get this corrected. (Well basically I complained, they fixed, and I tested, so the work was all them!)
The CFC had a bit of cleanup as well. I'm finally getting comfortable with the "Google way" of thinking when it comes to their APIs.
Comment 1 written by Henry Ho on 3 November 2008, at 5:09 PM
Comment 2 written by Raymond Camden on 3 November 2008, at 8:10 PM
Comment 3 written by Carl Steinhilber on 11 November 2008, at 5:52 PM
I installed the hotfix (cfadmin reported that the update was successful), copied in the new tablib (file date of taglib in the WEB-INF\cftags\META-INF directory is now 9/23/2008, as expected), restarted my CF server, restarted WAMP, and I'm still getting the following error while trying to run the test_embed.cfm included with the archive:
"The tag handler http does not have a setter for the attribute multipartType specified in the Tag Library Descriptor."
What am I doing wrong??
Thanks!
-Carl
Comment 4 written by Carl Steinhilber on 11 November 2008, at 6:58 PM
The server I was testing the hotfix on wasn't yet updated to 8.0.1.
Updated to 8.0.1, and THEN ran the hotfix, and everything is perfect now.
Thanks!
-Carl "It must be getting late"
Comment 5 written by Raymond Camden on 11 November 2008, at 8:51 PM
Comment 6 written by Jordan on 18 March 2009, at 10:29 AM
In particular I am getting the error :
The tag handler http does not have a setter for the attribute multipartType specified in the Tag Library Descriptor.
Does this mean I need to edit all existing uses of this tag to include the multipartType attribute with its value being form-data?
Thanks in advance.
Jordan
Comment 7 written by Raymond Camden on 18 March 2009, at 10:36 AM
Comment 8 written by Steve on 2 April 2009, at 3:33 PM
Comment 9 written by Matthew Walker on 23 May 2009, at 5:20 PM
Comment 10 written by Jelle Kralt on 7 June 2009, at 7:19 AM
[Add Comment] [Subscribe to Comments]