Skip to content

Fix #559 : Create an generated bullet list from a template construct#560

Merged
ylussaud merged 3 commits into
ObeoNetwork:3.3.xfrom
etraisnel2:issue559
May 21, 2026
Merged

Fix #559 : Create an generated bullet list from a template construct#560
ylussaud merged 3 commits into
ObeoNetwork:3.3.xfrom
etraisnel2:issue559

Conversation

@etraisnel2
Copy link
Copy Markdown
Contributor

@etraisnel2 etraisnel2 commented May 4, 2026

PR Checklist

Please check if your PR fulfills the following requirements:

  • You add a commit message
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: 559
Numbering (from bullet & number list) that is not explicitly present in the template, but are generated from html, are not taken into account in the generated document, and fails to be copied.
This causes the doc generation to crash, and no doc is generated

What is the new behavior?

Generated numbering are now taken into account.
Generation do not crash anymore when generated html contains numbering

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

@etraisnel2 etraisnel2 changed the title Issue559 Fix #559 : Create an generated bullet list from a template construct May 4, 2026
@etraisnel2 etraisnel2 marked this pull request as ready for review May 4, 2026 15:00
@etraisnel2 etraisnel2 marked this pull request as draft May 4, 2026 15:00
@etraisnel2 etraisnel2 force-pushed the issue559 branch 2 times, most recently from 47337c6 to 05b035c Compare May 12, 2026 14:27
@ylussaud ylussaud marked this pull request as ready for review May 21, 2026 07:24
During numIdCopy, if numbering isn't found in template, look it up in generated doc

adapt test templates for 559 back to 3.3.5

Signed-off-by: Erwann Traisnel <erwann.traisnel@obeo.fr>
Add test models

Signed-off-by: Erwann Traisnel <erwann.traisnel@obeo.fr>
@ylussaud ylussaud merged commit 561fffb into ObeoNetwork:3.3.x May 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants