Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

User Mentions are broken when logged into admin account

Nick Martin July 20, 2018

So i've ran into a weird issue which I can't seem to figure out. 

My Setup:

  • JIRA Server
  • Confluence Server
  • JIRA was restored from a backup with 10 users
  • Confluence fresh installation, configured out of box using JIRA user management. Synced and all users showing up in Confluence.

Created a new space in Confluence (clean slate), and if I use the @usermention macro on any other user except myself, I get "broken link" not an unresolved user.

If I log into one of the other accounts, and finish setting up their profile. I can use the "@" to mention that users own name, as well as my admin user account and they both show up correctly.

I then logged back into my admin account and tested again but faced the same "broken link". I checked the storage format and looked at the userid numbers compared to when the admin account created it vs when logged in with the other user account and got 2 different results.

 

Steps I followed:

  1. Log into admin account
  2. Created page and called @user1 and @[deleted] and the user1 showed up as broken link.
  3. I logged into user1 account, finished profile setup and went to create a test page.
  4. I typed in @user1 and @[deleted] and both user mentions came up correctly
  5. Logged back into admin account, created a new page and again tested by using @user1 but got "broken link"

Storage format USERID comparison when Admin created vs User1

<p><ac:link><ri:user ri:userkey="402881d264b8346c0164b835a6600009" /></ac:link></p>
<p><ac:link><ri:user ri:userkey="402881d264af6fbd0164af7192ab0009" /></ac:link> </p>

 

1 answer

1 vote
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 25, 2018

I realize you have tried a lot of different scenarios but let's eliminate low lying fruit first. I acknowledge this is a generic sounding article, but please try it: Unable to @ mention certain users in Confluence

Nick Martin July 26, 2018

Hi Ann,

Unfortunately steps 1 (rebuilding index from scratch) and steps 2 (force-upgrade UserIndexingUpgradeTask) did not resolve the issue. 

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2018

It seems like the wrong user key is cached somewhere. Please try:

  1. Go to  > General Configuration > Cache Management.
  2. Scroll to the bottom and choose "flush all"

Also, eliminate the possibility of a browser cache issue by clearing your browser cache or trying a browser you haven't used for Confluence

Nick Martin July 27, 2018

That was it, browser cache fixed it. :) Thank you!

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2018

Happy to hear it! Thanks for following up. :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events