on a document contacting the below structure, FieldRef generates an infinite recursion when FieldUpdater is called with "update(true)"
at line 304:
- Code: Select all
FieldRef nested = (FieldRef)o;
log.error("Nested field " + nested.getFldName() );
at that stage the "o" object is the same as the "nested" one, quite easy to fix...
Here is the XML structure generating the problem:
<w:r>
<w:fldChar w:fldCharType="begin"/>
</w:r>
<w:r>
<w:instrText xml:space="preserve"> TC </w:instrText>
</w:r>
<w:r>
<w:fldChar w:fldCharType="begin"/>
</w:r>
<w:r>
<w:instrText ...