Author Topic: Bug: Missing filename...  (Read 3577 times)

nfactorial

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Bug: Missing filename...
« on: September 11, 2003, 12:55:28 pm »
Bug report:

I created a new class and pressed CTRL+G within the editor (C++ code export), followed by return to generate the class code (Generate is the default selected button on the dialog).

Enterprise Architect prompted me for a filename, which I gave.

The sourcefile was generated, however the %fileName% macros within the 'File' and 'FileImpl' code templates evaluated to an empty string.

Deleting the generated files and re-exporting them corrected the problem (I'd guess the source files are generated in a memory buffer before being written to the file (or before validating there is a filename)?).

Thanks
n!