incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Bloodhound" <bloodhound-...@incubator.apache.org>
Subject Re: [Apache Bloodhound] #288: Create prototype for legacy database schema proxy
Date Thu, 24 Jan 2013 19:40:47 GMT
#288: Create prototype for legacy database schema proxy
---------------------------+-----------------------------------
  Reporter:  jure          |      Owner:  jure
      Type:  enhancement   |     Status:  new
  Priority:  major         |  Milestone:
 Component:  multiproduct  |    Version:
Resolution:                |   Keywords:  bep-0003 multiproduct
---------------------------+-----------------------------------

Comment (by olemis):

 Replying to [comment:12 olemis]:
 > Replying to [comment:11 jure]:
 > > Replying to [comment:8 olemis]:
 > >
 > > > AFAICS the issue is related to this ticket .
 > >
 > > It was, permission table did not get translated, in r1438011 the table
 has been added into translated tables list.
 >
 > Thanks very much .
 >

 ... but ... there still some issues identified while running test cases
 for dafault permissions store . The most critical being

 {{{

 ======================================================================
 ERROR: test_env_isolation
 (tests.perm.ProductDefaultPermissionStoreTestCase)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/path/to/bloodhound/bloodhound_multiproduct/tests/perm.py", line
 58, 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)
 OperationalError: table permission has 3 columns but 2 values were
 supplied

 }}}

 @jure : could you please take a look ?

 Anyway , I'll continue working on #355 . By the time this will be fixed
 I'll come back to this once again .

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/288#comment:14>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Mime
View raw message