AbstractNodeData#getReferencedContent(..) throws PathNotFoundException
----------------------------------------------------------------------

                 Key: MAGNOLIA-3058
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3058
             Project: Magnolia
          Issue Type: Bug
          Components: core
    Affects Versions: 4.3
            Reporter: Federico Grilli
            Assignee: Philipp Bärfuss
            Priority: Critical


While working with the demo-project I noticed that all the internal links show 
the message "Target page of link does not exist".
The logs show this kind of error for each unresolved link.

{{2010-02-03 12:20:25,702 ERROR info.magnolia.module.templatingkit.util.STKUtil 
  : Can't resolve reference [/demo-project/footer/02/linkList/03/link] with 
uuid [f312fc16-8f66-451c-bdf0-a72913b74c2d]}}
Digging a bit in code I've seen that the following chunk of code in 
{{AbstractNodeData#getReferencedContent(..)}} throws a 
{{PathNotFoundException}} though the path actually exists
{code}
// is this relative path?
            if (!pathOrUUID.startsWith("/")) {
                refNode = node.getContent(pathOrUUID);
            }
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to