SiteMapBase.GetActualCurrentNode() is NULL when viewing Previous Version of Page - Bugs & Issues - Bugs & Issues - Progress Community

SiteMapBase.GetActualCurrentNode() is NULL when viewing Previous Version of Page

 Bugs & Issues

SiteMapBase.GetActualCurrentNode() is NULL when viewing Previous Version of Page

  • SiteMapBase.GetActualCurrentNode() is NULL when viewing Previous Version of Page
  • Hi there,

    I have a user control on all pages that uses SiteMapBase.GetActualCurrentNode() in order to display the page title on each page. When I'm in edit mode and live mode there are no issues at all. However if I go to Revision History of a page and try to view an older page suddenly SiteMapBase.GetActualCurrentNode() is NULL.

    I can check to see if it's null before trying to work with it but I actually need it to be available so that the page displays as it should.

    Pretty sure this is a bug.

    Regards,
    Phill
  • Hi Phill Hodgkinson,

    We have logged the problem as a bug. We advise you to workaround the problem by checking if SiteMapBase.GetActualCurrentNode() is not null prior using it.

    Best wishes,
    Garo
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Hi,

    Do we know when this is being fixed? I have the exact same problem in v5.4.40.10 as I have extended the left hand side navigation of the site, but seem unable to get the actual node of the page being previewed.

    Many thanks,

    Ricardo
  • Hi Ricardo,

    I have made some changes to the bug and informed our developers about it. I have also created a PITS for this bug. You could track it and vote for its popularity on the following URL.

    Apologies for the inconvenience. I hope that the problem will be fixed soon.

    Kind regards,
    Stefani Tacheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  • Are there any updates on getting this bug fixed? 

  • Hello,

    The problem has not been fixed yet. However I have increased its priority and marked it as important for customers. You could track its status in our Feedback portal on the following URL.To receive notifications when the status of the item is changed you should follow it.

    Regards,
    Stefani Tacheva
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  • Hi,

    Is this fixed yet? The feedback Url throws 404. Can you post the correct Url please?

  • Hi Nidhi,

    This limitation is by design - when a page is viewed in Revision history it's reviewed outside of the context of a SiteMap, that's why calls to SiteMapBase.GetActualCurrentNode() return null, and should be handled in the custom code.

    I hope this helps.

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items