You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Colm O hEigeartaigh <co...@apache.org> on 2013/05/08 09:51:48 UTC

Spring 3.1.4

Hi all,

I'm experimenting with using Syncope (1.1.X) with Spring 3.1.4. I've also
added a cglib 2.2.2 dependency to core. I get a small number of test
failures in core:

  AttributableSearchTest.searchByPageAndSize:186 expected:<1> but was:<0>
  AttributableSearchTest.searchByUsernameAndFullname:320 expected:<2> but
was:<0>
  AttributableSearchTest.searchByUsernameAndId:273 expected:<1> but was:<0>
  AttributableSearchTest.searchByIsNull:224 expected:<4> but was:<0>
  AttributableSearchTest.searchByBoolean:156 expected:<1> but was:<0>
  AttributableSearchTest.searchById:337 expected:<1> but was:<0>
  AttributableSearchTest.searchWithLikeCondition:119 expected:<1> but
was:<0>
  AttributableSearchTest.searchByResource:253 expected:<1> but was:<0>
  AttributableSearchTest.searchWithNotCondition:134 expected:<4> but was:<0>
  AttributableSearchTest.issue202:376 expected:<2> but was:<0>
  AttributableSearchTest.searchByMembership:203 expected:<2> but was:<0>
  AttributableSearchTest.issueSYNCOPE46:413 expected:<1> but was:<0>
  AttributableSearchTest.searchByRolenameAndId:297 expected:<1> but was:<0>
  AttributableSearchTest.issueSYNCOPE95:79 expected:<1> but was:<0>

Some NotificationTests fail as well. Any ideas why these tests are failing?

Colm.



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Spring 3.1.4

Posted by Francesco Chicchiriccò <il...@apache.org>.
Il 08/05/2013 10:41, Colm O hEigeartaigh ha scritto:
> If I don't add cglib then all of the core tests fail with:
>
> java.lang.IllegalStateException: Failed to load ApplicationContext
>          at
> org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:67)

I've search through commits: I think you'd need to revert at least [2] 
and [3] in order to be able to work with Spring 3.1.X on Syncope 1_1_X.

Regards.

> On Wed, May 8, 2013 at 9:55 AM, Francesco Chicchiriccò<il...@apache.org> wrote:
>
>> On 08/05/2013 09:51, Colm O hEigeartaigh wrote:
>>
>>> Hi all,
>>>
>>> I'm experimenting with using Syncope (1.1.X) with Spring 3.1.4. I've also
>>> added a cglib 2.2.2 dependency to core. I get a small number of test
>>> failures in core:
>>>
>>>     AttributableSearchTest.**searchByPageAndSize:186 expected:<1> but
>>> was:<0>
>>>     AttributableSearchTest.**searchByUsernameAndFullname:**320
>>> expected:<2> but
>>> was:<0>
>>>     AttributableSearchTest.**searchByUsernameAndId:273 expected:<1> but
>>> was:<0>
>>>     AttributableSearchTest.**searchByIsNull:224 expected:<4> but was:<0>
>>>     AttributableSearchTest.**searchByBoolean:156 expected:<1> but was:<0>
>>>     AttributableSearchTest.**searchById:337 expected:<1> but was:<0>
>>>     AttributableSearchTest.**searchWithLikeCondition:119 expected:<1> but
>>> was:<0>
>>>     AttributableSearchTest.**searchByResource:253 expected:<1> but was:<0>
>>>     AttributableSearchTest.**searchWithNotCondition:134 expected:<4> but
>>> was:<0>
>>>     AttributableSearchTest.**issue202:376 expected:<2> but was:<0>
>>>     AttributableSearchTest.**searchByMembership:203 expected:<2> but
>>> was:<0>
>>>     AttributableSearchTest.**issueSYNCOPE46:413 expected:<1> but was:<0>
>>>     AttributableSearchTest.**searchByRolenameAndId:297 expected:<1> but
>>> was:<0>
>>>     AttributableSearchTest.**issueSYNCOPE95:79 expected:<1> but was:<0>
>>>
>>> Some NotificationTests fail as well. Any ideas why these tests are
>>> failing?
>>>
>> Manually adding CGLib should break the Spring's application context
>> loading.
>>
>> Any particular reason why you added this back (it used to be there but
>> I've removed as part of some Spring dependency upgrade - see [1])?
>>
>> [1] https://jira.springsource.org/**browse/SPR-9669<https://jira.springsource.org/browse/SPR-9669>
[2] http://svn.apache.org/viewvc?view=revision&revision=1438506
[3] http://svn.apache.org/viewvc?view=revision&revision=1467904

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/


Re: Spring 3.1.4

Posted by Colm O hEigeartaigh <co...@apache.org>.
If I don't add cglib then all of the core tests fail with:

java.lang.IllegalStateException: Failed to load ApplicationContext
        at
org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:67)

Colm.


On Wed, May 8, 2013 at 9:55 AM, Francesco Chicchiriccò
<il...@apache.org>wrote:

> On 08/05/2013 09:51, Colm O hEigeartaigh wrote:
>
>> Hi all,
>>
>> I'm experimenting with using Syncope (1.1.X) with Spring 3.1.4. I've also
>> added a cglib 2.2.2 dependency to core. I get a small number of test
>> failures in core:
>>
>>    AttributableSearchTest.**searchByPageAndSize:186 expected:<1> but
>> was:<0>
>>    AttributableSearchTest.**searchByUsernameAndFullname:**320
>> expected:<2> but
>> was:<0>
>>    AttributableSearchTest.**searchByUsernameAndId:273 expected:<1> but
>> was:<0>
>>    AttributableSearchTest.**searchByIsNull:224 expected:<4> but was:<0>
>>    AttributableSearchTest.**searchByBoolean:156 expected:<1> but was:<0>
>>    AttributableSearchTest.**searchById:337 expected:<1> but was:<0>
>>    AttributableSearchTest.**searchWithLikeCondition:119 expected:<1> but
>> was:<0>
>>    AttributableSearchTest.**searchByResource:253 expected:<1> but was:<0>
>>    AttributableSearchTest.**searchWithNotCondition:134 expected:<4> but
>> was:<0>
>>    AttributableSearchTest.**issue202:376 expected:<2> but was:<0>
>>    AttributableSearchTest.**searchByMembership:203 expected:<2> but
>> was:<0>
>>    AttributableSearchTest.**issueSYNCOPE46:413 expected:<1> but was:<0>
>>    AttributableSearchTest.**searchByRolenameAndId:297 expected:<1> but
>> was:<0>
>>    AttributableSearchTest.**issueSYNCOPE95:79 expected:<1> but was:<0>
>>
>> Some NotificationTests fail as well. Any ideas why these tests are
>> failing?
>>
>
> Manually adding CGLib should break the Spring's application context
> loading.
>
> Any particular reason why you added this back (it used to be there but
> I've removed as part of some Spring dependency upgrade - see [1])?
>
> [1] https://jira.springsource.org/**browse/SPR-9669<https://jira.springsource.org/browse/SPR-9669>
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~**ilgrosso/<http://people.apache.org/~ilgrosso/>
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Spring 3.1.4

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 08/05/2013 09:51, Colm O hEigeartaigh wrote:
> Hi all,
>
> I'm experimenting with using Syncope (1.1.X) with Spring 3.1.4. I've also
> added a cglib 2.2.2 dependency to core. I get a small number of test
> failures in core:
>
>    AttributableSearchTest.searchByPageAndSize:186 expected:<1> but was:<0>
>    AttributableSearchTest.searchByUsernameAndFullname:320 expected:<2> but
> was:<0>
>    AttributableSearchTest.searchByUsernameAndId:273 expected:<1> but was:<0>
>    AttributableSearchTest.searchByIsNull:224 expected:<4> but was:<0>
>    AttributableSearchTest.searchByBoolean:156 expected:<1> but was:<0>
>    AttributableSearchTest.searchById:337 expected:<1> but was:<0>
>    AttributableSearchTest.searchWithLikeCondition:119 expected:<1> but
> was:<0>
>    AttributableSearchTest.searchByResource:253 expected:<1> but was:<0>
>    AttributableSearchTest.searchWithNotCondition:134 expected:<4> but was:<0>
>    AttributableSearchTest.issue202:376 expected:<2> but was:<0>
>    AttributableSearchTest.searchByMembership:203 expected:<2> but was:<0>
>    AttributableSearchTest.issueSYNCOPE46:413 expected:<1> but was:<0>
>    AttributableSearchTest.searchByRolenameAndId:297 expected:<1> but was:<0>
>    AttributableSearchTest.issueSYNCOPE95:79 expected:<1> but was:<0>
>
> Some NotificationTests fail as well. Any ideas why these tests are failing?

Manually adding CGLib should break the Spring's application context loading.

Any particular reason why you added this back (it used to be there but 
I've removed as part of some Spring dependency upgrade - see [1])?

[1] https://jira.springsource.org/browse/SPR-9669

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/