I'm using version 4.11.5 and getting this a 500 error (/umbraco/controls/Images/ImageViewerUpdater.asmx/UpdateImage
) in Fiddler when selecting / inserting images in the RTE:
{"Message":"The relative virtual path \u0027award\u0027 is not allowed
here.","StackTrace":" at System.Web.VirtualPath.Create(String virtualPath,
VirtualPathOptions options)\r\n at
System.Web.VirtualPathUtility.ToAbsolute(String virtualPath, String
applicationPath)\r\n at umbraco.controls.Images.ImageViewer.LookupData()\r\n at
umbraco.controls.Images.ImageViewer.DataBind()\r\n at
umbraco.controls.Images.ImageViewerUpdater.UpdateImage(Int32 mediaId, String
style, String linkTarget)","ExceptionType":"System.ArgumentException"}
I don't get this issue on another 4.11.4 website on the same machine. I've also copied the Umbraco & Umbraco_client folders from the original 4.11.5 download without success.
I've added a field called fileName onto the image media type. This was populated with 'award'. I've just removed this field and it's now working ok. I presume that 'fileName' is a reserverd name ?
Aah, you are absolutely right, I just had a quick look at the source code and guess what? So yeah, give it a different name and you should be good to go!
Relative virtual path error - Inserting image Tinymce
I'm using version 4.11.5 and getting this a 500 error (/umbraco/controls/Images/ImageViewerUpdater.asmx/UpdateImage ) in Fiddler when selecting / inserting images in the RTE:
I don't get this issue on another 4.11.4 website on the same machine. I've also copied the Umbraco & Umbraco_client folders from the original 4.11.5 download without success.
Do you know where that 'award' path is coming from? Is this something you've set somewhere?
I've added a field called fileName onto the image media type. This was populated with 'award'. I've just removed this field and it's now working ok. I presume that 'fileName' is a reserverd name ?
Aah, you are absolutely right, I just had a quick look at the source code and guess what? So yeah, give it a different name and you should be good to go!
// TODO: Remove "Magic strings" from code.
var pFile = m.getProperty("fileName");
is working on a reply...