Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,422
Community Members
 
Community Events
184
Community Groups

Scriptrunner Page Info Modified Users macro not working properly

Edited

Hello together,

 

in Confluence the Modified Users macro has a problem. 

Currently i´m testing a new version of Confluence (6.7.2). Its on stage. So this macro is now Page Info Modified users by scriptrunner Version 4.2.2

 

So there are a few articles from live (5.6.6) that are having a problem with stage. The macro shows the authors John, $fullnames.get( $idx ), Jack...

 

This person does not work in the company anymore. His account was also deleted. So actually his name or this error should not even appear, right? 

The strange thing is that on live his name shows up just normal although his account does not exist anymore.

 

What could be the problem here ? 

3 answers

0 votes
Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 23, 2018

We've just released version 4.2.4 of Page Info that fixes this issue. Could you please update the app and let us know if it fixed your issue?

Thanks,

Rafael

Thank you! I am getting mixed results: deleted users are no longer being displayed as "$fullnames.get($idx)", rather, the author field is blank, where some author fields display "unknown user (xxxx)".

Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 24, 2018

Chip, could you please open a support ticket here: 

 

https://productsupport.adaptavist.com/servicedesk/customer/portal/20

Hi Rafael,

 

No need to. The bug was indeed fixed. We refreshed the LDAP cache, and sure enough, your fix worked like a charm. Thank you!

Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 25, 2018

Awesome! Great to hear that!

0 votes
Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 23, 2018

Hi all,

This is happening because unfortunately when you remove a user from Active Directory, Confluence does not remove all the references from it, so effectively you are trying to reference someone that does not exist.

Granted, instead of showing up as $fullnames.get($idx) we could show empty. I'm currently working to fix that issue, but in fact this is a fundamental broken functionality from Atlassian, thus the reason why our "Change Content Author" built-in script is so popular since even when a user is removed from AD it is still present as being the author of the page.

I hope to have a fix soon.

Rafael 

Same issue here and I cannot figure out how to fix this.

We have 5.x running in production, tied to AD. Macro works great and shows the user's name, even when they've been deleted from AD.

In our 6.7x staging instance, tied to the same AD, deleted AD users display as "$fullnames.get( $idx )" in the Page Info box.

Vendor wants $400 for a plugin that's broken?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events