This is a migrated thread and some comments may be shown as answers.

[Solved] Image Manager on Edit Profile

1 Answer 55 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Søren Møller Hansen
Top achievements
Rank 1
Søren Møller Hansen asked on 19 Jan 2006, 02:44 PM

Hi,

I have installed rad.editor in GAC and added ows_patch.js at the end of ows.js to replace the standard content editor in "edit personal profile" etc. I then try to insert an image in the "About Me" field on "edit profile" page I get an error in the Image Manager dialog:

Server Error in '/_wpresources' Application.
--------------------------------------------------------------------------------

"http://spsdev/_layouts/1033/EditProfile.aspx" contains illegal character ':'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.SharePoint.SPException: "http://spsdev/_layouts/1033/EditProfile.aspx" contains illegal character ':'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[SPException: "http://spsdev/_layouts/1033/EditProfile.aspx" contains illegal character ':'.]
   Microsoft.SharePoint.h.a(String A_0, Boolean A_1) +316
   Microsoft.SharePoint.SPSite.OpenWeb(String strUrl) +19
   Telerik.WebParts.SharePointContext.Init(HttpContext context) +144
   Telerik.WebParts.Editor.Dialogs.BaseDialogControl.xde97676d01739ced(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc) +23
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain() +750

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 19 Jan 2006, 07:25 PM
Hi Søren,

Thank you for detailed explanation - it really helped us find the problem.

It appears that our implementation had a bug which caused incorrect data to be send to the ImageManager dialog. To solve it right away please replace the RadEditor_GetWebUrl javascript function in ows.js with this one

function RadEditor_GetWebUrl()
{
    return window.location.href.replace(/(.*?:\/\/.*?\/)(.*?)(Lists|_layouts)\/(.*)/, "$2");
}


The fix will be applied in the next version of r.a.d.editor SharePoint Edition.

Your points have been updated for locating this bug for us.


Sincerely yours,
Albert
the telerik team
Tags
RadEditor
Asked by
Søren Møller Hansen
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or