Return-Path: X-Original-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82724EA90 for ; Wed, 23 Jan 2013 22:31:10 +0000 (UTC) Received: (qmail 3335 invoked by uid 500); 23 Jan 2013 22:31:10 -0000 Delivered-To: apmail-incubator-bloodhound-commits-archive@incubator.apache.org Received: (qmail 3315 invoked by uid 500); 23 Jan 2013 22:31:10 -0000 Mailing-List: contact bloodhound-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-commits@incubator.apache.org Received: (qmail 3306 invoked by uid 99); 23 Jan 2013 22:31:10 -0000 Received: from bloodhound-vm.apache.org (HELO bloodhound-vm) (140.211.11.32) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 22:31:10 +0000 Received: from bloodhound-vm.apache.org (localhost [127.0.0.1]) by bloodhound-vm (Postfix) with ESMTP id 00464805CD; Wed, 23 Jan 2013 22:31:09 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit From: "Apache Bloodhound" X-Trac-Version: 1.0 Cc: bloodhound-commits@incubator.apache.org Auto-Submitted: auto-generated X-Mailer: Trac 1.0, by Edgewall Software X-Trac-Project: Apache Bloodhound Date: Wed, 23 Jan 2013 22:31:09 -0000 Reply-To: bloodhound-dev@incubator.apache.org X-URL: https://issues.apache.org/bloodhound/ Subject: Re: [Apache Bloodhound] #288: Create prototype for legacy database schema proxy X-Trac-Ticket-URL: https://issues.apache.org/bloodhound/ticket/288#comment:8 Message-ID: <068.1cb6315686485f24b5b0b294358f2bae@incubator.apache.org> References: <053.6d3423a1e001606889ae1f7d5ccbad98@incubator.apache.org> X-Trac-Ticket-ID: 288 In-Reply-To: <053.6d3423a1e001606889ae1f7d5ccbad98@incubator.apache.org> #288: Create prototype for legacy database schema proxy ---------------------------+----------------------------------- Reporter: jure | Owner: jure Type: enhancement | Status: closed Priority: major | Milestone: Component: multiproduct | Version: Resolution: fixed | Keywords: bep-0003 multiproduct ---------------------------+----------------------------------- Comment (by olemis): After running the [comment:8:ticket:355 test suite for default permission store] I've detected this failure : {{{ #!sh $ /srv/venv/python/trac/0.13/bin/python setup.py test -m tests.perm running test running egg_info writing BloodhoundMultiProduct.egg-info/PKG-INFO writing top-level names to BloodhoundMultiProduct.egg-info/top_level.txt writing dependency_links to BloodhoundMultiProduct.egg- info/dependency_links.txt writing entry points to BloodhoundMultiProduct.egg-info/entry_points.txt writing BloodhoundMultiProduct.egg-info/PKG-INFO writing top-level names to BloodhoundMultiProduct.egg-info/top_level.txt writing dependency_links to BloodhoundMultiProduct.egg- info/dependency_links.txt writing entry points to BloodhoundMultiProduct.egg-info/entry_points.txt reading manifest file 'BloodhoundMultiProduct.egg-info/SOURCES.txt' writing manifest file 'BloodhoundMultiProduct.egg-info/SOURCES.txt' running build_ext test_builtin_groups (tests.perm.ProductDefaultPermissionStoreTestCase) ... ok test_env_isolation (tests.perm.ProductDefaultPermissionStoreTestCase) ... ERROR test_get_all_permissions (tests.perm.ProductDefaultPermissionStoreTestCase) ... ok test_mixed_case_group (tests.perm.ProductDefaultPermissionStoreTestCase) ... ok test_nested_groups (tests.perm.ProductDefaultPermissionStoreTestCase) ... ok test_simple_actions (tests.perm.ProductDefaultPermissionStoreTestCase) ... ok test_simple_group (tests.perm.ProductDefaultPermissionStoreTestCase) ... ok ====================================================================== ERROR: test_env_isolation (tests.perm.ProductDefaultPermissionStoreTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/path/to/bloodhound/bloodhound_multiproduct/tests/perm.py", line 63, in test_env_isolation ('john', 'dev')]) File "/path/to/bloodhound/trac/trac/db/api.py", line 123, in executemany return db.executemany(query, params) File "/path/to/bloodhound/trac/trac/db/util.py", line 139, in executemany cursor.executemany(query, params) File "/path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py", line 65, in executemany return super(BloodhoundIterableCursor, self).executemany(self._translate_sql(sql), args=args) File "/path/to/bloodhound/trac/trac/db/util.py", line 77, in executemany args) File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 62, in executemany args) File "/path/to/bloodhound/trac/trac/db/sqlite_backend.py", line 48, in _rollback_on_error return function(self, *args, **kwargs) IntegrityError: columns username, action are not unique ---------------------------------------------------------------------- Ran 7 tests in 0.193s FAILED (errors=1) }}} AFAICS the issue is related to this ticket . -- Ticket URL: Apache Bloodhound The Apache Bloodhound (incubating) issue tracker