More issues with reusable content

4 posts, 0 answers
  1. Ben
    Ben avatar
    1 posts
    Member since:
    Sep 2010

    Posted 22 Sep 2010 Link to this post

    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
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 24 Sep 2010 Link to this post

    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.

  3. jing
    jing avatar
    31 posts
    Member since:
    Aug 2007

    Posted 01 Feb 2011 Link to this post

    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!
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 02 Feb 2011 Link to this post

    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.
Back to Top