State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:235098|
Problem summary:
The NodegraphAPI.CreateNode() function is meant to raise a ValueError exception in case the given node type name does not match the name of any of the available node types. As of KATANA 2.1v2, the function instead logs an error message in this case. This has implications in places in the code that expect exceptions to be raised from CreateNode() calls.
Steps to reproduce:
NodegraphAPI.CreateNode('bogus', NodegraphAPI.GetRootNode()) Expected behaviour:
A ValueError exception is raised, with an exception message stating that no node type by the name of "bogus" is available.
Actual behaviour:
An error message is logged to the console.
Workaround:
No known workaround.
Reproduced versions/platforms:
Customer version/platform:
2.1v5/Linux
We're sorry to hear that
Please tell us why