the desktop uploader is creating the image and folder nodes in Umbraco but it aint uploading the files.
The Umbraco log shows the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
at TheOutfield.UmbExt.DesktopMediaUploader.UmbracoImageMediaFactory.SetImageMediaProperties(Media media, String file, Int32 fileWidth, Int32 fileHeight, Int32 bytes, String ext)
at TheOutfield.UmbExt.DesktopMediaUploader.UmbracoImageMediaFactory.CreateMedia(Int32 parentNodeId, HttpPostedFile uploadFile, User user)
at TheOutfield.UmbExt.DesktopMediaUploader.DesktopMediaUploaderHandler.ProcessUploadRequest(HttpContext context, XmlTextWriter xmlTextWriter)
The media folder should have the right permission. I just added Everyone with full permission to be sure.
Hmmm, not sure how the default media types get populated. Might be worth checking the core to see if it is via SQL script, and whether there is an error in those for MySQL.
System.NullReferenceException
Hello,
the desktop uploader is creating the image and folder nodes in Umbraco but it aint uploading the files.
The Umbraco log shows the following error:
The media folder should have the right permission. I just added Everyone with full permission to be sure.
Did I miss something else maybe?
Hey,
Can you check this thread to see if this is the same issue you are having? As they reported the same exception:
http://our.umbraco.org/projects/website-utilities/desktop-media-uploader/bugs,-feedback-and-suggestions/13434-Seems-like-its-uploading,-but-it-doesnt?p=1
Cheers
Matt
Great, can you believe I actually read the first page of that thread...
So for people who are like me and apperenly can't read:
go to settings > Media Types > Image > Generic Properties > Change 'umbracoExtensio' to 'umbracoExtension'.
Hehe,
Is that something that needs raising as a bug in Umbraco? as the alias really shouldn't be 'umbracoExtensio' by default.
Matt
Does it occur in all Umbraco installations? Checked an other project I am working on and seems it's Extensio there too.
What version of umbraco are you using?
I've check both 4.5.1 and 4.5.2 and they are both showing the correct alias of "umbracoExtension"
I thought it was one off when they other guy mentioned it, but intreaged now that you've got the same issue.
Matt
4.5.2 .NET 4
The file media type also has umbracoExtensio.
Did you upgrade from a previous version?
Lee Kelleher just pointed me to this old thread which mentions a bug from 4.0.2.1 where the alias was miss spelt
http://forum.umbraco.org/yaf_postst9878_Multiple-file-upload-for-Umbraco-v401.aspx
As a couple of you have hit the problem though, I might just put the fix in to prevent this being an issue either way.
Matt
Actually my other project is .Net 3.5 they both use MySql though.
They ain't upgrades. Freshly downloaded from codeplex 2-3 days ago.
Hmmm, not sure how the default media types get populated. Might be worth checking the core to see if it is via SQL script, and whether there is an error in those for MySQL.
Matt
Downloading the source atm. Might do some digging.
It looks like it is a bug in the MySQL install scripts:
http://umbraco.codeplex.com/SourceControl/changeset/view/79332#906044
Time to raise a bug =)
Matt
(Thanks Lee Kelleher for digging this out)
Has also already been raised as an issue, please go vote for them:
http://umbraco.codeplex.com/workitem/29213
http://umbraco.codeplex.com/workitem/28034
Matt
is working on a reply...