INplace Editor and toc

The toc does not work when inplace editor is ON. This ist the error:

Fehler beim Rendern des Makros 'toc': [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </div>; expected </textarea>. at [row,col {unknown-source}]: [90,5]

3 answers

1 accepted

Hey Axel,

This problem was fixed in InPlace Editor 2.4.2 from 25 Dec 2012.

I see this in a Conflunce 5.4 today:

toc: com.atlassian.confluence.macro.MacroExecutionException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </div>; expected </textarea>. at [row,col {unknown-source}]: [175,13]

From using this in a usermacro:

<h1>Incidents and Changes</h1>

Sorted by Resolution Date Descending

#set($search=$thisPageTitle.replaceAll(".domain.dk",""))

$globalHelper.renderConfluenceMacro("{jiraissues:text ~ '$search*' AND issuetype IN (change,incident) ORDER BY resolutiondate DESC}")

Hello Maxim

this patch corrected most problems. Thank you. I am fine now.

The following problem still exists, but thats ok with a workaround.

I still have the same Exception on a page combining the following two makros.

<div class='panelArchaeologie'>
<table class='panelArchaeologie'>
<colgroup>
<col width='52'/>
<col/>
</colgroup>

<tr>
<td valign='top'>

<table>
<tr><td><img src="/download/attachments/1018407/701.jpg" width="50" height="50" align="absmiddle" alt="" border="0"></img></td></tr>

<tr><td><div class="infoPanelHeader">Archäologie</div></td></tr>
</table>

</td>
<td>
<p>$body</p>
</td>

</tr>
</table>
</div>

and the body includes a makro like

<span style="color: rgb(128,128,128);">
<sub>
$body
</sub>
</span>

Hello Maxim,

Does the Confluence toc macro work without error with Confluence 4.3.3 and InPlace Editor 2.4.2? We just noticed we have InPlace Editor 2.4.0 and we do have this error. I just wanted to confirm for my team that upgrading to 2.4.2 will resolve our issue.

Many thanks.

I see this in a Conflunce 5.4 today:

toc: com.atlassian.confluence.macro.MacroExecutionException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </div>; expected </textarea>. at [row,col {unknown-source}]: [175,13]

From using this in a usermacro:

<h1>Incidents and Changes</h1>

Sorted by Resolution Date Descending

#set($search=$thisPageTitle.replaceAll(".domain.dk",""))

$globalHelper.renderConfluenceMacro("{jiraissues:text ~ '$search*' AND issuetype IN (change,incident) ORDER BY resolutiondate DESC}")

Normann,

which version of InPlace Editor are you using? Could you check your Confluence logs for a full stacktrace of this exception?

Also you can contact us via support@stiltsoft.com

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
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

38 views 0 3
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