It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to fix user error with blog posts macro

martin hulth Apr 18, 2016

This question is in reference to Atlassian Documentation: Blog Posts Macro

When I add the macro to a Wiki page it gives me the following error:

Error rendering macro 'blog-posts' : com.atlassian.confluence.user.AuthenticatedUserThreadLocal.get()Lcom/atlassian/confluence/user/ConfluenceUser;

I have full permission rights both as an Individual and a Group (for both the Wiki Space Admin and another Group I've given permission to). I am able to add blog entries and view them, but I cannot get the blog-list macro to work. Please help! smile

1 answer

0 votes

Hi,

It could be some isssues. Have a look at  this https://bitbucket.org/apurde/svg-out/issues/4/macro-rendering-error

 



Remove:

        // check whether the user has access rights to the page
        ConfluenceUser confluenceUser = AuthenticatedUserThreadLocal.get();
        if(!permissionManager.hasPermission(confluenceUser, Permission.VIEW, ceo)) {
            return "svg-out: Sorry, you do not have proper access rights to the page where the image is attached to!";
        }

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

951 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you