More in this section

Forums / General Discussions / StartingNodeUrl error

StartingNodeUrl error

12 posts, 0 answered
  1. JV
    JV avatar
    74 posts
    Registered:
    15 Jun 2012
    06 Dec 2010
    Link to this post
    Hi,

    I upgrade my site to the last build (03-12) one of mine navigation control stoped to work. It seems that this version have a o problem width the property StartingNodeUrl . If i give a valid URL to StartingNode it throws an error. Example :

    <sfNav:NavigationControl id="LM" runat="server"  MaxDataBindDepth="3"   StartingNodeUrl="/test3"   SelectionMode="SelectedPageChildren" NavigationAction="OnClick" NavigationMode="VerticalTree" ></sfNav:NavigationControl>

    I need an urgent solution because i need to fix this problem.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    06 Dec 2010
    Link to this post
    Hi JV,

    I checked the control you pasted, but I was not able to replicate any issue. Are you getting any error?

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. JV
    JV avatar
    74 posts
    Registered:
    15 Jun 2012
    06 Dec 2010
    Link to this post
    Hi,

    See the attached images to see the error and the steps.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    06 Dec 2010
    Link to this post
    Hi JV,

    This error appears if the StartingNodeUrl does not exist on the current page culture. For instance you have set StartingNodeUrl to "teste3" which has been created under "PT" culture and you are adding your control on a page where the culture is "EN". If teste3 exist in both the languages there should not be a problem.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. JV
    JV avatar
    74 posts
    Registered:
    15 Jun 2012
    06 Dec 2010
    Link to this post
    Hi,

    This pages exists in the current language i am in the PT version of the site and if i click in the page the error shows (so the StartingNodeUrl does exists).

    I don't understand that before upgrade to last release i don't have this problem and now i have.
    I need a solution and  need to understand how to resolve it.

    I try to made a downgrade of the release and start working if i make the upgrade stops working.

    Is clear that something changed an i don't know what ?

    To have both languages of one page is not one solution because i don't need to translate all my site and the features of sitefinity allow me to do that.
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    06 Dec 2010
    Link to this post
    Hello JV,

    The only way that I am able to replicate this issue is when the NavigationControl uses StartingNodeUrl which does not exist in the current culture and this is what the error says - there is not node in the SiteMap.

    1. Have you added your navigation control on a page or it is inside the template?
    2. Which is the language version under which you created a template and added the control?
    3. Which is the language version under which you browse the page when the error appear?


    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Kristian
    Kristian avatar
    214 posts
    Registered:
    03 Jun 2010
    06 Dec 2010
    Link to this post
    This happens to me as well using the default navigation control that is provided. I do not have any languages setup on this project.

    It seems to happen when you select 'start from a certain node' in the navigation options, if you set it to the root 'Pages' it does not seem to have a problem
  8. JV
    JV avatar
    74 posts
    Registered:
    15 Jun 2012
    06 Dec 2010
    Link to this post
    Hi,

    I have two languages (pt-PT the default and EN as second)

    1 - The navigation control is inside a template in the.master file (see image in attach)

    2 -  I think i don't understand the question, the templates does'nt have language ? I create the page in my default language (pt-PT) and link/associate that page to my template.

    3 - It is PT, because my default language is PT. If i inject the domain/teste3 so the page exists.

    I tried to begin with one new database  but the problem is the same.

  9. JV
    JV avatar
    74 posts
    Registered:
    15 Jun 2012
    06 Dec 2010
    Link to this post
    Hi,

    another strange thing. I tried to had the navigation control to my page by editing the page and drag an drop it in the page. After drop it i tried to costumize it so i edit the control and select the option "All pages under particular page".
    Please see the attached file !!
  10. JV
    JV avatar
    74 posts
    Registered:
    15 Jun 2012
    06 Dec 2010
    Link to this post
    Hi,

    I tried to create a simple test project with only one language and the problem is the same. Please see the attached screens and try to follow the steps. I do it only to be sure that it is not a problem of my particular project.

    Please help,
    JV
  11. Kristian
    Kristian avatar
    214 posts
    Registered:
    03 Jun 2010
    06 Dec 2010
    Link to this post
    Yikes, well mine isn't that bad, I can still pick pages and the names show up. But when clicking finish I get the exception.
  12. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    09 Dec 2010
    Link to this post
    Hello Kristian,

    We have logged a bug with ID 100876 for this issue.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
12 posts, 0 answered