Cannot find sibling exception.
Hello All,
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.
|
[InvalidDataException: Cannot find sibling.] Telerik.Sitefinity.Modules.Pages.PageHelper.SortControls(IEnumerable`1 controlContainers, Int32 count) +640 Telerik.Sitefinity.Modules.Pages.PageHelper.ProcessControls(IList`1 controls, IList`1 placeholders, IList`1 controlContainers) +72 Telerik.Sitefinity.Modules.Pages.PageDraftProxy..ctor(PageDraft pageData, PageNode pageNode, PageDataProvider provider, Boolean isPreview) +848 Telerik.Sitefinity.Web.PageEditorRouteHandler.GetPageData(SiteMapNode node) +459 Telerik.Sitefinity.Web.RouteHandler.GetHttpHandler(RequestContext requestContext) +107 Telerik.Sitefinity.Web.PageEditorRouteHandler.GetHttpHandler(RequestContext requestContext) +38 System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +8886120 System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +86 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 |
Hi Vitaly,
The error is produced, because of mismatch of the controls/holders in the template and their parent ids. The error is thrown when the parent of one control/holder do not match correct child and docks cannot be arranged properly. Could you give us some steps( or send a screencast) that we could follow to replicate the issue here. After the page and controls have been added have you made some changes to the ContentPlaceHolders, layouts, removing and replacing templates etc?
The issue could happen in cases when you have removed some controls - physically deleted. When the page is loaded, it is divided on holders and the error says that when an element cannot get the siblings of matched elements.
All the best,
Ivan Dimitrov
the Telerik team
Hi Ivan,
Hi Vitaly,
It is not possible to check or fix this through the database you should recreate the page. If there are any steps that I can follow to replicate the issue, please let me know.
Sincerely yours,
Ivan Dimitrov
the Telerik team
Ivan,