# HG changeset patch # User Sylvain Thénault # Date 1263978854 -3600 # Node ID 149b33d22d8775ae904ab38c8d5dbe32e21598f4 # Parent 74c1597f8a8234eb84b08d6ab2f9cf7bdac8975e# Parent 1084aaa53a25041db864a6f67eaa000ef4983fd5 merge diff -r 74c1597f8a82 -r 149b33d22d87 server/test/unittest_rql2sql.py --- a/server/test/unittest_rql2sql.py Wed Jan 20 10:13:45 2010 +0100 +++ b/server/test/unittest_rql2sql.py Wed Jan 20 10:14:14 2010 +0100 @@ -1581,6 +1581,10 @@ FROM (SELECT 1) AS _T WHERE EXISTS(SELECT 1 FROM owned_by_relation AS rel_owned_by0, cw_Affaire AS _P WHERE rel_owned_by0.eid_from=_P.cw_eid AND rel_owned_by0.eid_to=1 UNION SELECT 1 FROM owned_by_relation AS rel_owned_by1, cw_Note AS _P WHERE rel_owned_by1.eid_from=_P.cw_eid AND rel_owned_by1.eid_to=1)''') + def test_groupby_multiple_outerjoins(self): + self._check('Any A,U,P,group_concat(TN) GROUPBY A,U,P WHERE A is Affaire, A concerne N, N todo_by U?, T? tags A, T name TN, A todo_by P?', + "SHOULD NOT CRASH") + class removeUnsusedSolutionsTC(TestCase): def test_invariant_not_varying(self):