INplace Editor and toc

Axel Zoell December 4, 2012

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

0 votes
Answer accepted
Maxim Kuzmich [StiltSoft]
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.
January 16, 2013

Hey Axel,

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

Normann P_ Nielsen _Netic_
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.
December 9, 2013

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}")

0 votes
Lisa Dyer April 11, 2013

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.

Normann P_ Nielsen _Netic_
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.
December 9, 2013

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}")

Maxim Kuzmich [Stiltsoft] December 10, 2013

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

0 votes
Axel Zoell January 21, 2013

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>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events