Re: tenant problem in framework can somebody (Adam) help?

2012-05-07 Thread Adam Heath
On 05/07/2012 03:40 PM, Pierre Smits wrote: > Given that the tenants use the same codebase and only use a different > delegator than main, you could say that performing unit tests as in a > tenant delegator should get you the same results as doing them in the main > delegator. > > But, then there

Re: tenant problem in framework can somebody (Adam) help?

2012-05-07 Thread Pierre Smits
Adam, Given that the tenants use the same codebase and only use a different delegator than main, you could say that performing unit tests as in a tenant delegator should get you the same results as doing them in the main delegator. But, then there would always be an uncertainty that might itch...

Re: tenant problem in framework can somebody (Adam) help?

2012-05-07 Thread Adam Heath
On 05/07/2012 02:46 PM, Pierre Smits wrote: > Adam, > > Pleaase elaborate on what the unit test(s) should achieve? Creating new > tenants and loading the tenant instantiation with demo data? Or? All of the above, anything, something. There are no automated test cases *at all* for tenant anything

Re: tenant problem in framework can somebody (Adam) help?

2012-05-07 Thread Pierre Smits
Adam, Pleaase elaborate on what the unit test(s) should achieve? Creating new tenants and loading the tenant instantiation with demo data? Or? Regards, Pierre 2012/5/7 Adam Heath > On 05/07/2012 09:18 AM, Adam Heath wrote: > > I'll fix it when I get to work. > > > > ps: there are really no te

Re: tenant problem in framework can somebody (Adam) help?

2012-05-07 Thread Adam Heath
On 05/07/2012 09:18 AM, Adam Heath wrote: > I'll fix it when I get to work. > > ps: there are really no test cases for tenants? ps: I have a plan for testing the tenant code. Do not start it by just 'cloning' the existing entitymodels for the tenant. That will take *way* to long. Instead, crea

Re: tenant problem in framework can somebody (Adam) help?

2012-05-07 Thread Adam Heath
I'll fix it when I get to work. ps: there are really no test cases for tenants? -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Hans Bakker wrote: In the framework found the following problem: in GenericDelegator.java, line 226: GenericValue kekValue = baseDelegator.fin

tenant problem in framework can somebody (Adam) help?

2012-05-07 Thread Hans Bakker
In the framework found the following problem: in GenericDelegator.java, line 226: GenericValue kekValue = baseDelegator.findOne("TenantKeyEncryptingKey", true, "tenantId", getDelegatorTenantId()); however the key to this entity has 2 fields: and further in log i get this message: Failure