This issue has been created
 
 
Confluence / cid:jira-generated-image-avatar-ea94df7d-979b-46db-8241-f4ee781e7ae8 CONFLUENCE-534 Open

Endless loop when converting complex content combining several features involving queued listeners

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4d575926-2896-4983-9db8-7223230a7264 Raphaël Jakse created this issue on 06/Aug/26 14:11
 
Summary: Endless loop when converting complex content combining several features involving queued listeners
Issue Type: cid:jira-generated-image-avatar-ea94df7d-979b-46db-8241-f4ee781e7ae8 Bug
Affects Versions: 9.95.1
Assignee: Unassigned
Components: XML
Created: 06/Aug/26 14:11
Priority: cid:jira-generated-image-static-major-8d8425f9-b5eb-4655-adbd-b69327a7358f Major
Reporter: Raphaël Jakse
Description:

Sorry for the obscure title. The issue itself is a bit obscure but with a very simple cause.
We forget to unwrap listeners we remove when several are queued (for instance because of the auto-remove-target paragraph cleaning process + of an annotation being present, all this inside a list item, itself inside a list item).

The following Confluence XHTML syntax for instance causes an endless loop:

<ul>
    <li><ac:inline-comment-marker ac:ref="b91c5c5b-ead9-49c6-ad84-e949fcc7f9f2">hello</ac:inline-comment-marker>
        <ul>
            <li><p class="auto-cursor-target">The pile of queued listeners shouldn't loop indefinitely.</p>
                <p class="auto-cursor-target"><br/></p></li>
        </ul>
    </li>
</ul>