Closed MarieSaphira closed 3 years ago
Describe the bug
If I have two folders in my Project each containing a TyphonDL model (with main model file, database files and dbtypes.tdl), the script generation does not use the right references. Instead of e.g.
xsi:type=\"typhonDL:DB\" name=\"RelationalDatabase\" type=\"//@elements.6\">
the reference to a .tdl file in a different folder is used:
xsi:type=\"typhonDL:DB\" name=\"RelationalDatabase\"> <type href=\"../TyphonDL/dbTypes.tdl#//@elements.0\"/>
This leads to an IndexOutOfBounds Exception here
Expected behavior
Either how an error when there is more than one DL model in a project or only use DL resources contained in the same folder.
Reported by @patrickneubauer
This is (also) the case for generated database files (i.e. generated by TyphonDL if the user does not select existing database files).
seems to still happen
Describe the bug
If I have two folders in my Project each containing a TyphonDL model (with main model file, database files and dbtypes.tdl), the script generation does not use the right references. Instead of e.g.
the reference to a .tdl file in a different folder is used:
This leads to an IndexOutOfBounds Exception here
Expected behavior
Either how an error when there is more than one DL model in a project or only use DL resources contained in the same folder.
Reported by @patrickneubauer