Stefan Goßner

Senior Escalation Engineer for SharePoint (WSS, SPS, MOSS, SP2010) and MCMS

Blogs

Feature in Telerik Placeholder Control can lead to broken resource links

  • Comments 3
  • Likes

I just got the information from a customer that a feature in the Telerik placeholder control can lead to broken resource links on the live site and to the following error message during authoring mode:

Save Placeholder Failed
-----------------------------------------------------------
Error Details:
The current user does not have rights to edit the requested item. If you are seeing this exception when a MCMS template is executing, it means that you have removed the CmsAuthorizationModule from the HttpModules section of your web.config. You can only remove this module if: 1. All requests for every MCMS template in the web application will only be accessed by anonymous users 2. Guest access is enabled in MCMS (via the SCA) 3. The MCMS guest user has access to all postings based on templates in the web application If any of these requirements are not met, you MUST register the CmsAuthorizationModule in your web.config.
-----------------------------------------------------------

The feature that causes this problem is the Overwrite if file with such name exists feature in the Telerik control. This control deletes the original item and uploads a new items. As this feature does not use the SetContentFromFile function in the API this will lead to a new, independend resource with a different GUID. All links in existing postings which point to the original resource gallery item will now reference the deleted item which causes this problem.

Telerik has been made aware of this problem and they will hopefully release a correct this code soon to ensure that the SetContentFromFile function is used rather than delete and upload.

Meanwhile you should not use the Overwrite if file with such name exists function in Telerik Control if postings use the original resource gallery item.

Comments
  • Although using the SetContentFromFile function will provide a structural solution, it may take a while before that is corrected by telerik. The following approach from Stefan provides a work around, but does not solves the problem completely.

    http://blogs.technet.com/stefan_gossner/archive/2004/07/07/175298.aspx


  • Thanks for pointing up the glitch, guys.

    The problem is already solved and a hotfix is available for download on our site.

    Cheers,
    Erjan

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
Raw Html Fix