Author Topic: Issues with heading levels on generated documents in EA16  (Read 2743 times)

PeteC

  • EA User
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
Issues with heading levels on generated documents in EA16
« on: September 29, 2022, 08:37:11 pm »
I have a set of templates to generate fragments which are then combined in a master document.

In EA 15 all of the heading levels are correct, but in EA 16 (only tried 32 bit) some are not generated correctly (but some are!). The ones that are wrong are:
  • Child packages not being demoted to the next lower level (the child of a heading level 2 should be heading level 3, but it is being generated as level 2)
  • Template that is defined as heading level 3 but actually gets generated as level 2
  • Template that has a level 1 heading with some fixed text and then a level 2 heading for all packages but the packages all end up at level 1

I have Indent Linked Document Headings selected (in both EA15 and 16), but since the errors are not specifically to do with linked documents then this is probably irrelevant.

I cannot find any other settings or anything in the documentation to configure - have I found a bug in EA 16 (anyone else found the same?) or have I missed a setting somewhere that I need to change?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Issues with heading levels on generated documents in EA16
« Reply #1 on: September 29, 2022, 08:46:10 pm »
The settings that somehow plays a role in the header settings is the "Adjust Heading Levels"

You can find this setting both on the templates themselves, as on the generate document dialog.

If you are using the same setting in v15 as in v16, and the document are still generated differently, then you should report that as as bug.

Geert

PeteC

  • EA User
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
Re: Issues with heading levels on generated documents in EA16
« Reply #2 on: September 29, 2022, 09:32:43 pm »
Thanks Geert - Adjust Heading Levels is set to Heading 9, so should not be affecting me (I haven't got more than level 4 in my example that works in EA 15). It's the same model with the same templates. I need to try and recreate with a simple replicatable process in order to report it as a bug (not my complicated MDG!).

potterm

  • EA User
  • **
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Re: Issues with heading levels on generated documents in EA16
« Reply #3 on: October 18, 2022, 12:43:46 am »
I'm also seeing issues in EA 16 32bit - I have a document template that follows a package hierarchy and what should be a third level heading gets generated as level 2.  The sub-packages inside that package then (correctly) get generated as level 4 but obviously it looks a mess in the generated document.  I have the adjust heading levels setting at its default (9) so that shouldn't affect it.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Issues with heading levels on generated documents in EA16
« Reply #4 on: October 18, 2022, 12:49:40 am »
I'm also seeing issues in EA 16 32bit - I have a document template that follows a package hierarchy and what should be a third level heading gets generated as level 2.  The sub-packages inside that package then (correctly) get generated as level 4 but obviously it looks a mess in the generated document.  I have the adjust heading levels setting at its default (9) so that shouldn't affect it.
Now that you are saying it, I think I noticed something similar a while ago.
I did not recognise that v16 might have been the culprit, but now that I know I will pay closer attention to that in my v16 tests.

Geert

potterm

  • EA User
  • **
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Re: Issues with heading levels on generated documents in EA16
« Reply #5 on: October 18, 2022, 02:39:53 am »
I'm also seeing issues in EA 16 32bit - I have a document template that follows a package hierarchy and what should be a third level heading gets generated as level 2.  The sub-packages inside that package then (correctly) get generated as level 4 but obviously it looks a mess in the generated document.  I have the adjust heading levels setting at its default (9) so that shouldn't affect it.
Now that you are saying it, I think I noticed something similar a while ago.
I did not recognise that v16 might have been the culprit, but now that I know I will pay closer attention to that in my v16 tests.

Geert

I've just downgraded back to EA 15.2 having transferred the report templates to the v15 model and the problem disappears, so looks to be an EAv16 issue (one of a few that I've come across in the Report Generation area in EA16 - the other (crash when trying to edit list level in EA 16x64) has been acknowledged as a bug by Sparx.  I'll raise a bug report....