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

Share Link - Endless loading & Internal Server Error

    XMLWordPrintable

Details

    Description

      Theres a Problem with the "Share a Link" Blueprint.
      If you share a Link, where the content could not parse correctly, a Server side error is thrown and the AJAX Request while fetching the image or creating the page aborted.

      Because the Blueprint JS doens't handle the Abort, it seems that the page creation request proceeded endless.

      To reproduce this problem, you can try to share this link:
      http://wiki.doebe.li/Beat/EinBuchZuWikis

      Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 37: /pub/Main/SitePreferences/favicon.ico
              at java.net.URI.create(Unknown Source)
              at java.net.URI.resolve(Unknown Source)
              at com.atlassian.confluence.plugins.sharelinks.metaextractor.SimpleDOMMetadataExtractor.getAbsolutePath(SimpleDOMMetadataExtractor.java:104)
              at com.atlassian.confluence.plugins.sharelinks.metaextractor.SimpleDOMMetadataExtractor.updateMetadata(SimpleDOMMetadataExtractor.java:63)
              at com.atlassian.confluence.plugins.sharelinks.metaextractor.MasterLinkMetaDataExtractor.parseMetaData(MasterLinkMetaDataExtractor.java:68)
              at com.atlassian.confluence.plugins.sharelinks.SharelinksContextProvider.getContextMap(SharelinksContextProvider.java:64)
              at com.atlassian.confluence.plugins.createcontent.actions.DefaultBlueprintContentGenerator.getContentTemplateContext(DefaultBlueprintContentGe
      nerator.java:207)
      

      Attachments

        1. logfile.log
          23 kB
        2. share-link-error.png
          share-link-error.png
          36 kB

        Issue Links

          Activity

            People

              nbhawnani Niraj Bhawnani
              728c4e60a739 Oliver Sträßer [bitvoodoo]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: