Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-10698

Links not resolved for News

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Medium
    • None
    • 2.7.1
    • None

    Description

      Referencing/Linking another blogpost "UIL this week", within another blogpost with a similar name, such as "UIL this week" leads to the following exception:

      2008-02-12 11:58:15,859 ERROR [http-8090-Processor2] [atlassian.renderer.v2.V2Renderer] render Unable to render content due to system error: null
       -- url: /pages/editblogpost.action | userName: admin | action: editblogpost | page: 1015820
      java.lang.NullPointerException
      	at com.atlassian.confluence.links.linktypes.BlogPostLink.isOnSamePage(BlogPostLink.java:98)
      	at com.atlassian.confluence.links.linktypes.AbstractPageLink.setUrlAndTitleWithAnchor(AbstractPageLink.java:54)
      	at com.atlassian.confluence.links.linktypes.AbstractPageLink.setUrlAndTitle(AbstractPageLink.java:43)
      	at com.atlassian.confluence.links.linktypes.BlogPostLink.<init>(BlogPostLink.java:51)
      	at com.atlassian.confluence.links.ConfluenceLinkResolver.makeBlogPostLink(ConfluenceLinkResolver.java:207)
      	at com.atlassian.confluence.links.ConfluenceLinkResolver.createLink(ConfluenceLinkResolver.java:132)
      	at sun.reflect.GeneratedMethodAccessor637.invoke(Unknown Source)
      

      Steps to reproduce:

      1) Create a blogpost such as "UIL this week"
      2) Create another blogpost such as "UIL This week"
      3) Refer the first in the second:

      [Last week|2008/02/04/UIL+this+week#UILthisweek-NewThisWeek]
      

      4) Visit the second blogpost

      Attachments

        Activity

          People

            matt@atlassian.com Matt Ryall
            ganand Gurleen Anand [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: