Error rendering macro.

Hi all. I have next errors in text field on my confluence page

1. Error rendering macro 'list-data' : Unsupported type: class org.randombits.confluence.metadata.reference.WikiReference

2. Error rendering macro 'text-data' : [com.ctc.wstx.exc.WstxLazyException] Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'FolderCTID' at [row,col {unknown-source}]: [1,926]

This errors were appered after confluence update from version 3.5 to 4.2

Any idea how to solve this problem?

2 answers

List-data and text-data both come from the Scaffolding plugin by Customware. Have you upgraded the plugin as part of your upgrade? Because of the changes in Confluence, the old version of Scaffolding won't work.

i use scaffolding 4.0.3, as far as i know this is last version.

Actually encountered this issue myself today. Make sure you're closing your list-data and text-data macros correctly.

Also, in our case, we were using the list-data to provide a pick-list of users in confluence-users. After migrating the page from one instance to another (via XML backup & restore), we got a randombits error message on screen. We worked out this was due to a user being present in the first instance but not the second. I'd say this is a bug, as the situation could be handled more nicely, but I'll raise that with CustomWare.

So, i want to describe my investigation about this problems. So, the problems with wiki reference have next reason. If i have XHTML data stored in field, confluence can return result both in String and like WikiReference Object. I write custom plugin which remigrate data from this field divided by "instance of" and all now is ok.

second problem appeared when you have some unnessassary symbols inside migrated links in my case problem was that in fields stored links with bad formats for example 2 links in one xHTML tag.

So that's answer.

Thanks for help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,334 views 2 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you