DynamoDS/Dynamo — pull request #1919 by aparajit-pratap (2014-07-10 10:02:20+00:00)
Title: Showing build errors on nodes during execution - Defect fix: MAGN-3877Wa...

...rnings do not show up on CBN's in a file having warnings

This PR addresses the defect where build warnings such as "function not found" are not shown on erroneous nodes opened in a file. This is because showing such warnings is not reliable during file load time. For example a CBN can call a function that is defined in a CBN that is compiled later. In such a case, even though the function is defined, the caller CBN will throw an error as it is compiled first. This defect (http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3648 ) has been addressed in https://github.com/DynamoDS/Dynamo/pull/1717. In order to show such warnings in genuine cases, where the function may indeed not be defined, the only reliable way is to show the build warnings on the nodes at the time of execution when all the information necessary for compilation and execution is available in the VM. I have therefore made changes to pass in the node GUID's to the build warning logs so that the warnings can be mapped to the appropriate nodes.