﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28286	"Union (""|"") and Interception (""&"") QuerySets raise AssertionError"	AbrahamGo		"We are currently working in a migration from {{{Django 1.5.12}}} to {{{1.7.11}}} and we are currently receiving the following error in {{{Django 1.7.11}}} when we are using union (""**|**"") or interception (""**&**"" ) between {{{QuerySets}}}, for example {{{queryset_c =  queryset_a | queryset_b}}}.
{{{
AssertionError: assert set(['T6', 'T...encyaccount']) == set([])
         Extra items in the left set:
         'clients_client'
         'reconciliation_asset'
         'T8'
         'T6'
         'settlements_currencyaccount'
         'core_entity'
         Use -v to get the full diff
}}}

Investigating we have noticed that it's a bug fixed in {{{Django 1.8.5}}} but we need to know if there is any work around to this issue or we should redo this logic to avoid  use ""**|**"" and ""**&**"" operators.

Could you let me know if there is any work around please?

Thanks."	Bug	new	Error reporting		Normal		QuerySets, 1.7		Unreviewed	0	0	0	0	0	0
