Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Kiselis 8 posts 78 karma points
    Dec 20, 2016 @ 09:38
    Paul Kiselis
    0

    There is no current node error, when umbraco route is not hijacked.

    I am recieving a "There is no current node error" when the parrent node of umbraco has its route not hijacked.

    Let me give you an example

    enter image description here

    If you'll take a look at my current project layout. The Root node has its route hijacked and it hits the controller and returns a view once I go to its url.

    The Content, Library, Footer and Test nodes(level 1 children of Root) do not have its route hijacked. So when I go to their specific url I recieve template not found error.

    enter image description here

    If I go to nodes Documentation, release notes, Glossary or Faq. I recieve this error "There is no current node error...".

    enter image description here All of these nodes do not have a template or route hijacked. Also they are nodes of parrent classes that Do not have its route hijacked. Why am I getting this error if I don't execute any code for these routes ?

    Note: If I hijack the route of Glosarry, Documentation, Faq parrent node. Everything works fine.

Please Sign in or register to post replies

Write your reply to:

Draft