Forums

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

Error rendering macro.

Alex Sh June 25, 2012

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

2 votes
CharlesH
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 26, 2012
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.
Alex Sh June 26, 2012

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

0 votes
CharlesH
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 26, 2012

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.

Alex Sh July 5, 2012

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
TAGS
AUG Leaders

Atlassian Community Events