+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / File Manager Rename Bug

File Manager Rename Bug

5 posts, 0 answered
  1. Phill Hodgkinson
    Phill Hodgkinson avatar
    362 posts
    Registered:
    10 Nov 2004
    19 Aug 2009
    Link to this post
    Hi there,

    I've come across a bug in the file manager and am wondering if this is a known issue with a fix or if there are any recommended ways to cutomize the Sitefinity Filemanger so I can fix it myself. In the Sitefinity admin, if you go to the File manager, select a file in the right pane, right click and select rename, then without doing anything else, click on another folder in the folder tree on the right you'll potentially get an error, if you dont' get an error initially you'll most likely get it if you try to go back to that folder again. (Index out of range error).  It seems that the "edit mode" for the file doesn't get cancelled or commited when clicking on the try and it tries to apply the "edit mode" to a file that isn't there in the file listing grid. Is this possible to fix without source code? If not, can someone at Telerik whip me up a fix?

    Here's the error stack trace:
    [ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. 
    Parameter name: index] 
       System.Collections.ArrayList.get_Item(Int32 index) +7487736 
       Telerik.Web.UI.GridDataKeyArray.get_Item(Int32 index) +12 
       Telerik.Web.UI.GridEditableItem.GetDataKeyValue(String keyName) +53 
       Telerik.Web.UI.RadGrid.DescribeProperties(ScriptComponentDescriptor descriptor) +2151 
       Telerik.Web.UI.RadGrid.DescribeComponent(ScriptComponentDescriptor descriptor) +29 
       Telerik.Web.UI.RadCompositeDataBoundControl.Telerik.Web.IControl.DescribeComponent(ScriptComponentDescriptor descriptor) +10 
       Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) +112 
       Telerik.Web.UI.RadCompositeDataBoundControl.GetScriptDescriptors() +4 
       Telerik.Web.UI.RadCompositeDataBoundControl.System.Web.UI.IScriptControl.GetScriptDescriptors() +10 
       System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) +101 
       System.Web.UI.ScriptManager.RegisterScriptDescriptors(IScriptControl scriptControl) +21 
       Telerik.Web.UI.RadCompositeDataBoundControl.RegisterScriptDescriptors() +37 
       Telerik.Web.UI.RadCompositeDataBoundControl.RenderContents(HtmlTextWriter writer) +38 
       Telerik.Web.UI.RadGrid.RenderContents(HtmlTextWriter writer) +56 
       Telerik.Web.UI.RadGrid.Render(HtmlTextWriter writer) +137 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +10 
       System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +32 
       System.Web.UI.WebControls.CompositeControl.Render(HtmlTextWriter writer) +38 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +10 
       System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +32 
       System.Web.UI.WebControls.CompositeControl.Render(HtmlTextWriter writer) +38 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163 
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32 
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51 
       System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer) +21 
       Telerik.Cms.Web.FormAdapter.Render(HtmlTextWriter writer) +142 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +8683129 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40 
       ASP.sitefinity_admin_admin_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\pbnjwebv2\c18461cf\3ffce17\App_Web_xin0c9kx.2.cs:0 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 
       System.Web.UI.Page.Render(HtmlTextWriter writer) +29 
       Telerik.Web.UI.RadAjaxPage.Render(HtmlTextWriter writer) +43 
       Telerik.Cms.Web.CmsPageBase.Render(HtmlTextWriter writer) +460 
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266 


    Thanks in advance for any help!
    Cheers,
    Phill
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    19 Aug 2009
    Link to this post
    Hello Phill Hodgkinson,

    it is a know issue. We will try to come up with a fix for the next SP.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Phill Hodgkinson
    Phill Hodgkinson avatar
    362 posts
    Registered:
    10 Nov 2004
    10 Nov 2009
    Link to this post
    I've updated my site to version 3.7 SP1 and this file rename bug is still an issue. Is there an eta on when it will be fixed? Even a recommended workaround would be nice as my client is getting frustrated with the issue.

    Thanks in advance!
    Phill
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    11 Nov 2009
    Link to this post
    Hi Phill Hodgkinson,

    The bug is logged for fixing, but most probably it will not be fixed for the forthcoming SP at the end of November. I checked the code today and the problem seems to be more complication as it looks like.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. mcpdinkansas
    mcpdinkansas avatar
    102 posts
    Registered:
    22 Mar 2007
    24 Mar 2010
    Link to this post
    Just in case anyone has this issue, it is fixed by making sure the application has Read/Write security privileges on the server.

    This is the ASPNET user or IIS_WG user.
Register for webinar
5 posts, 0 answered