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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,691 views 25 10
Join discussion

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