In the master branch in git at the moment a complex filter get's incorrectly converted. For example the filter '(&(uid=kouk)(givenName=Konstantinos))' will become '(&(uid=kouk)(&(uid=kouk)(givenName=Konstantinos)))'. In this case there is no error because the filters are logically equivalent. But this might not always be the case. The attached patch fixes this behaviour. ========================================================= Issue dump from jira $VAR1 = { 'priority' => '4', 'customFieldValues' => [], 'project' => 'PENROSE', 'status' => '1', 'components' => [ { 'name' => 'Engine', 'id' => '10009' } ], 'attachmentNames' => '0002-recalculate-variables-when-converting-complex-filter.patch', 'reporter' => 'kouk', 'key' => 'PENROSE-315', 'assignee' => 'jimyang', 'summary' => 'complex filters get unecessarily complex when converted in FilterBuilder', 'id' => '11042', 'updated' => '2008-08-25 10:43:43.0', 'votes' => '0', 'fixVersions' => [], 'affectsVersions' => [], 'description' => 'In the master branch in git at the moment a complex filter get's incorrectly converted. For example the filter '(&(uid=kouk)(givenName=Konstantinos))' will become '(&(uid=kouk)(&(uid=kouk)(givenName=Konstantinos)))'. In this case there is no error because the filters are logically equivalent. But this might not always be the case. The attached patch fixes this behaviour.', 'created' => '2008-08-25 10:43:17.0', 'type' => '1' }; =========================================================
Might be related to https://bugzilla.redhat.com/show_bug.cgi?id=478255.
We need the configuration files and the query that was sent to the server.