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

User avatar image breaks after changing the base URL

    XMLWordPrintable

Details

    Description

      Summary

      Scenario 1

      When searching for a user in the page restrictions dialog, the user avatar image (or the default profile picture) is broken and the alt text from the image is shown instead:

      Scenario 2

      User avatar image is broken when mentioning a user in a page:

      Steps to Reproduce

      1. Set up Confluence with a context path
      2. Create a user in Confluence
      3. Shutdown Confluence
      4. Change the base URL of the Confluence instance to another one, or remove the context path altogether
      5. Restart Confluence
      6. Create another user with a similar username as the one created in step 2
      7. Open the page restriction dialog on a page and search for the two users.

      Expected Results

      The users with thumbnails of their user avatars (or default profile pictures if no avatar was chosen) are shown correctly.

      Actual Results

      The user created before the context path was changed will display a broken image in place of the thumbnail of their user avatar/profile picture. The user created after the context path change will display the thumbnail image correctly.

      Notes

      There were some similar problems but this is not the case.

      Workaround

      Rebuild the search index via the administration console. (See User avatar breaks after changing the base URL for the detail.)

      Attachments

        1. mention.png
          mention.png
          199 kB
        2. restrictions.png
          restrictions.png
          167 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yokamoto Yuki Okamoto (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: