Bug #4564
openModel Reference throws error with workflows in the same folder, but still functions
0%
Description
If I have a referring model (referring.xml) and a referred model (referred.xml) in the same folder, I have difficulty running the workflow. I get an error message that states "Not a file: file:/C:/Documents%20and%20Settings/soong/Desktop/kepler/referred.xml", even though both workflows are located at C:/tmp.
However, if I Skip element, both workflows execute as expected. Alternatively, if I refer to the referred document as ../tmp/referred.xml, both workflows also execute as expected.
Updated by Oliver Soong about 15 years ago
I take back that bit about ../tmp/referred.xml working. I think I just got confused. An error seems to be thrown for any relative path, but the actor will function if you click "Skip element".
Updated by Oliver Soong about 15 years ago
What boggles my mind is the tpc09-plant-dynamics-woody.xml workflow uses a VisualModelReference actor that generally suffers from the same problem, but the relative path works here. If I delete a bunch of actors from the workflow, the error message appears, but if I undo the deletes, the workflow works as expected again.