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

Forums / Bugs & Issues / SiteMapBase.GetActualCurrentNode() is NULL when viewing Previous Version of Page

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

8 posts, 0 answered
  1. Phill Hodgkinson
    Phill Hodgkinson avatar
    362 posts
    Registered:
    10 Nov 2004
    06 May 2011
    Link to this post
    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
  2. Garo
    Garo avatar
    4 posts
    Registered:
    24 Sep 2012
    18 May 2011
    Link to this post
    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
  3. Ricardo
    Ricardo avatar
    29 posts
    Registered:
    06 Nov 2012
    27 Mar 2013
    Link to this post
    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
  4. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    09 Sep 2016
    01 Apr 2013
    Link to this post
    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
  5. Tom
    Tom avatar
    7 posts
    Registered:
    07 Oct 2013
    05 May 2014
    Link to this post

    Are there any updates on getting this bug fixed? 

  6. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    09 Sep 2016
    08 May 2014
    Link to this post
    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
     
  7. Nidhi
    Nidhi avatar
    40 posts
    Registered:
    20 Jul 2010
    06 Nov 2015
    Link to this post

    Hi,

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

  8. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    22 Sep 2016
    10 Nov 2015
    Link to this post
    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
     
8 posts, 0 answered