'Type Invalid' exception when accessing an empty collection from c++
|Reported by:||vliaukevich||Owned by:||bthapaliya|
Suppose I have an empty collection and try to access it from a c++ code with the following code:
r_Set< r_Ref< r_GMarray > > set; r_OQL_Query query("select a from $1 as a"); query << collectionName.c_str(); r_oql_execute( query, set );
This gives me 'Type Invalid' exception. If a collection isn't empty or the set variable has type r_Set<r_Ref_Any>, everything goes as should.