Author Topic: RTF generator generates until excluded node only  (Read 2178 times)

Tonu

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
RTF generator generates until excluded node only
« on: December 19, 2005, 06:34:08 am »
Hi!

When you use the feature "exclude details for" in the template based document generator, then only elements BEFORE first excluded element are included in the document.

The template I have, prints element type, name and description for each model element in a package. When I excluded a few elements we never write descriptions for (choice, junction, decision) I discovered that only elements appearing before the first choice element in the tree. We use tree sorting for ordering elements in the document. I did not do any additional tests, but any of the excluded elements that caused problems did not have name.

I was lucky that on e of the models had choice as a second element in tree. I had already generated several documents with choice somewhere in the middle and did not notice part of the elements were missing

I got around the problem leaving all the elements in  document while generating and removed them later manually. If anybody suggests the problem is in the template not the generator, I can send the exported template for testing. Did not run any additional tests myself …

Best regards,
Tonu