Skip to content

Cannot create bullet list with fromHTMLBodyString in template construct #559

@etraisnel2

Description

@etraisnel2

I'm submitting a...

[x] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please have a look to the support pages of our website : http://m2doc.org/support/

Current behavior

While creating a bullet list in a template construct through fromHTMLBodyString() a XmlValueDisconnectedException is thrown.

Expected behavior

Generate the bullet list without exception (worked in version 3.3.2)

Minimal reproduction of the problem with instructions

Import IFE sample
create genconf and link mySystemEngineering to the IFE's

template.docx

Generate the attached template to reproduce

What is the motivation / use case for changing the behavior?

Fixing the regression

Technical Analysis

Numbering isn't created properly in the output document.
After the template construct is merged into the output document, and numberIDs are copied, the corresponding numbering isn't found and generation crashes

Environment

M2Doc version: 3.3.4 (also reproduced in 3.3.3 & 3.3.5) + Capella Extensions
Capella 7.0.1
Platform version: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions