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

More issues with reusable content

3 Answers 72 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 22 Sep 2010, 03:43 PM
Hi,

In our current project, we are experiencing additional issues when dealing with "connected" reusable content (apart from the issues mentioned in other posts and that are -at least partially- solved). First of all, when adding connected reusable content (with connected I mean set to update automatically) we noticed that the reference between the content item (page) and the reusable content is not created, so one can still delete the reusable content that is attached to a content item. We are not entirely sure that this is caused by the rad editor, but since we have not made any changes to the reusable content configuration, and after discussion with Microsoft, we are suspecting that the rad editor does something wrong. This leads to the second and more serious issue that if we delete a reusable content item connected to a page, and restore it later, we can never add it again to the page. It will just show the small "a" character (known but afaik solved), and then nothing (bug!). When doing a little investigation I noticed that the rad editor emits javascript to fix/format and transfer the editor's content into a hidden field. That's the point where it goes wrong. What happens now is that the javascript first reformats the content (so that SharePoint can handle the reusable content specific tokens) and then puts the reformatted content into the hidden field. However, it should first get the unformatted content from the editor, put it in the hidden field, and then reformat the content in the editor. I tested this scenario using the web developer tools of IE8 (Firefox does not play well with the reusable content picker) and when reversing the logic as described, it apparently works. I might be missing something of course, as I don't know the inner workings of the tool.
The version we are using is RadEditor 5.7.3 on MOSS (we have purchased a license but are now trying to find out who actually holds the license key so we can open a support ticket)

Many thanks for your response.

Ben

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 24 Sep 2010, 11:47 AM
Hello Ben,

Thank you for the provided information. I logged the problem behavior in our bug tracking system. We will investigate it further and provide you with an additional answer next week.


Greetings,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
jing
Top achievements
Rank 1
answered on 02 Feb 2011, 04:38 AM
Hi,

My client are having the issue (the reusable content disappear after the page is saved.) They are using MOSSRadeditor for SharePoint ver.5.8.4.0.

Is there any that can edit so that it will work? E.g. change the MOSSEditorTools.js file, etc...

Thanks!
0
Stanimir
Telerik team
answered on 02 Feb 2011, 08:55 AM
Hello jing,

In RadEditor for MOSS 5.8.5 there is a release not, which says "Fixed a case where reusable content does not save correctly in WCM scenario". I suggest you to upgrade to the latest version of RadEditor for MOSS, which now is 5.8.6. You can find the upgrade instructions in the following online help article: Upgrading to a newer version of RadEditor for MOSS.

If by some reason you can not upgrade check if adding the following code to the beginning of the fixRadEditorReusableContent(editor) method in the MOSSEditorTools.js file, which is located in the folder, will solve the issue:

if(editor._fixReusableContentExecuted)
    return;
else
    editor._fixReusableContentExecuted = true;

So the method should look like:

functionfixRadEditorReusableContent(editor)
{
    if(editor._fixReusableContentExecuted)
        return;
    else
        editor._fixReusableContentExecuted = true;
    ...
}


Best wishes,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
WebParts for SharePoint
Asked by
Ben
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
jing
Top achievements
Rank 1
Share this question
or