Forums

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

Spaceaccess macro problem after upgrade to 4.2

Rumceisz
Contributor
June 14, 2012

Hi All,

we just upgraded our Confluence from 3.5 to 4.2. In the Admin -> User Macros menu we get an announcement info:

"There are user macros with wiki formatted templates. They have been highlighted below.

For these macros to continue working in future versions of Confluence they must be manually changed to use HTML templates.

There are user macros without any metadata configured in their template. They have been highlighted below.

For these macros to be available for use in content they require parameter information. See the Guide to User Macro Templates."

The weird thing is that this is with the 'spaceaccess' macro which is an "official" Atlassian macro.

Can you please suggest for a help?

Thanks in advance!

Rumi

4 answers

0 votes
Rumceisz
Contributor
June 17, 2012

We get the attached error message.

0 votes
Rumceisz
Contributor
June 16, 2012

Hi Matthew,

of course, here is our code:

{report-block}
{combining-reporter:unique=true}
#set ($prevname = "")
#foreach ($perm in $space.getPermissions())
  #if ($perm.isUserPermission())
    #if ($prevname != $perm.getUserName())
      #set ($prevname = $perm.getUserName())
        {user-reporter:user=$perm.getUserName()}
    #end
  #else
    #if ($prevname != $perm.getGroup())
       #set ($prevname = $perm.getGroup())
       {user-reporter:group=$perm.getGroup()}
     #end
  #end
#end
{combining-reporter}

{report-body}
{report-info:user:full name|link=true}
{report-body}
{report-block}

Many thanks for the help!

Rumi

0 votes
Matthew J. Horn
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.
June 14, 2012

Can you post the code for the macro and we'll take a look.

0 votes
Rumceisz
Contributor
June 14, 2012

Hi All,

any idea?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events