Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231887

Query service VclFilter constructor missing

$
0
0

Hi,

 

The API Explorer shows 3 constructors for the VclFilter class:

 

new VclFilter(VclExpression)

new VclFilter(VclExpression[ ], VclFilterType)

new VclFilter(VclFilters[ ], VclFilterType)

 

The first two seem to work just fine, but the third one says it takes an array of VclFilters (with an 's' at the end, not VclFilter), and that class does not seem to exist.  When I try to instantiate it with an array of VclFilter objects, it errors out with the following:

 

"Cannot convert org.mozilla.javascript.NativeArray@123cab06 to com.vmware.vmo.plugin.vcloud.model.query.Expression[] (Dynamic Script Module name : getDatastoresFromNames#19)".

 

Is this supposed to be supported or not?


Viewing all articles
Browse latest Browse all 231887

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>