Menu

#118 Some queries don't raise NotAuthenticated fault

open
Steve
API (125)
7
2011-09-06
2011-04-25
Anonymous
No

Code such as:

ManagedEntity[] datacenters =
new InventoryNavigator(si.getRootFolder())
.searchManagedEntities("Datacenter");

returns an empty array instead of raising a NotAuthenticated fault when the session is invalid. This makes it ambiguous as to whether or not no datacenters exist or the session is bad.

Discussion

  • Steve

    Steve - 2011-09-06

    Good point. Will look into it.

    Steve

     
  • Steve

    Steve - 2011-09-06
    • priority: 5 --> 7
     
  • Nobody/Anonymous

    dKYxuV <a href="http://wrvngeotkqod.com/">wrvngeotkqod</a>, [url=http://btohzelcoimj.com/]btohzelcoimj[/url], [link=http://heiyyucppmxj.com/]heiyyucppmxj[/link], http://etlxzjzdpjib.com/