State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:397803|
Problem summary:
Calling GetGlobalXFormGroup() with an invalid input location path – either an absolute or relative location path that does not exist, or a relative path from a null input location path (i.e. for newly created or re-created locations) – returns a valid empty group attribute, rather than an invalid group attribute to indicate failure.
Steps to reproduce:
Obtain the result of Interface.GetGlobalXFormGroup("/root/some/location/that/does/not/exist") in an OpScript.
Expected behaviour:
The result should be null ('nil' in OpScript, an invalid attribute in C++), thus providing an indication of the failure to access the given location.
Actual behaviour:
The result is a valid empty group attribute.
Workaround:
Check validity of input location path independently.
Tested versions/platforms:
We're sorry to hear that
Please tell us why