[Glass] GsQuery results are duplicated

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Sat Jan 7 13:38:16 PST 2017


Bruno,

I wouldn't expect the query to return duplicates unless the 
RcIdentityBag the count for those objects in the bag is greater than 1 
(occurrencesOf: > 1).

Could you check if that is the case? If not then I will have to dig a 
bit deeper.

Dale

On 1/7/17 1:05 PM, BrunoBB via Glass wrote:
> Hi All,
>
> The following query:
> (each.groupname|username = 'admin') | (each.groupname = 'orbeon-role') is on
> aRcIdentityBag.
>
> But it returns duplicated domain objects.
> Why this query is answering duplicated objects (same oop) ?
> In the Gs Manual i found nothing about duplicated objects in a query.
> (there is no GsQueryOptions ignoreDuplicates ?)
>
> With:
> aGsQuery asArray asSet are all objects going to be loaded into memory ?
>
> Regards,
> Bruno
>
>
>
> --
> View this message in context: http://forum.world.st/GsQuery-results-are-duplicated-tp4929023.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass



More information about the Glass mailing list