Re: Using collective.quickupload with wildcard.media

Daniel Jowett <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Organization Jowett Enterprises Ltd
Message-ID <[email protected]>
Hi Alan,

   just guessing, (since you have no other replies), but would 
wildcard.foldercontents be a good substitute for collective.quickupload 
in your case?
I guess it would play more nicely with wildcard.media since it's from 
the same stable.

Regards,
Daniel


On 08/11/14 17:32, aschmitz wrote:
> I've configured a server with Plone 4.3.3, collective.quickupload 1.6.5, and
> wildcard.media 1.2b5.  Through the ZMI > content_type_registry, I changed
> the major_minor for the video/ MIME type to the Video content type.  When I
> upload an MP4 video using a Quick Upload portlet, I get the following
> errors:
>
> INFO collective.quickupload uploading file with XHR:
> filename=add-holding.mp4, title=Add holding, description=,
> content_type=video/mp4, portal_type=WildcardVideo
> INFO collective.quickupload An error happens : the dexterity content type
> http://localhost/media/add-holding.mp4 has no file field, rawdata can't be
> created
> ERROR collective.quickupload Error creating add-holding.mp4 file: list index
> out of range
>
> I found the error message in dexterity.py of the collective.quickupload
> product.  It looks like the following code isn't finding any file fields in
> the video dexterity content type:
>
>          file_fields = [field for name, field in fields
>                         if INamedFileField.providedBy(field)
>                         or INamedImageField.providedBy(field)]
>
> Would it be possible to get collective.quickupload to support videos from
> wildcard.media with a few changes to one or both of these products?
>
> Thanks,
> Alan
>
>
>
>
> --
> View this message in context: http://plone.293351.n2.nabble.com/Using-collective-quickupload-with-wildcard-media-tp7572834.html
> Sent from the General Questions mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Plone-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-users

-- 
Daniel Jowett

*Jowett Enterprises Ltd*
Tel: 0333 3 553 773
Mobile: 07870 667 126
[email protected]
www.jowettenterprises.com

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.