rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franklin, Matthew B." <mfrank...@mitre.org>
Subject Re: Reintegrating Model Interfaces Branch
Date Tue, 26 Jun 2012 14:16:19 GMT

On 6/23/12 12:54 PM, "Chris Geer" <chris@cxtsoftware.com> wrote:

>On Sat, Jun 23, 2012 at 9:36 AM, Chris Geer <chris@cxtsoftware.com> wrote:
>
>> On Sat, Jun 23, 2012 at 6:41 AM, Jasha Joachimsthal
>><jasha@apache.org>wrote:
>>
>>> On 21 June 2012 08:30, Jasha Joachimsthal <jasha@apache.org> wrote:
>>>
>>> >
>>> >
>>> > On 20 June 2012 23:26, Ate Douma <ate@douma.nu> wrote:
>>> >
>>> >> On 06/20/2012 10:24 PM, Franklin, Matthew B. wrote:
>>> >>
>>> >>> It looks like all of the tasks for the model interface refactor
are
>>> >>> completed with the exception of the merging tasks.   I am going
to
>>> merge
>>> >>> trunk's changes into the branch (RAVE-686).  Once that ticket is
>>> done, it
>>> >>> would be nice to have as many people who can test the branch
>>>before we
>>> >>> merge it back in to trunk.  Is there anyone who can help out?
>>> >>>
>>> >>
>>> >> I don't have time tomorrow but can help test on Friday.
>>> >>
>>> >> Ate
>>> >>
>>> >>
>>> > Same here (more integration test stories are welcome).
>>> >
>>> > Jasha
>>> >
>>>
>>> Creating a new account or provisioning an LDAP account (johnldap) is
>>> broken
>>> in the branch. Both failed in the integration tests (mvn
>>> -Pintegration-tests) and when I do them manually (with a clean
>>>database)
>>> they fail as well. In trunk this still works. This needs to be fixed
>>> before
>>> the branch is merged into trunk.
>>>
>>> For the new account I get
>>> [INFO] [talledLocalContainer] ERROR:
>>> org.apache.rave.portal.web.controller.NewAccountController - Account
>>> creation failed: Unknown Database Error
>>>
>>> For the LDAP account I get
>>> [WARNING] [talledLocalContainer] java.lang.RuntimeException: Could not
>>> bind
>>> LDAP username '{johnldap}' to a user
>>> [WARNING] [talledLocalContainer]        at
>>>
>>> 
>>>org.apache.rave.portal.web.security.LdapUserDetailsContextMapper.createR
>>>aveUserFromLdapInfo(LdapUserDetailsContextMapper.java:106)
>>> [WARNING] [talledLocalContainer]        at
>>>
>>> 
>>>org.apache.rave.portal.web.security.LdapUserDetailsContextMapper.mapUser
>>>FromContext(LdapUserDetailsContextMapper.java:82)
>>> .....
>>> [WARNING] [talledLocalContainer] Caused by:
>>> org.apache.rave.persistence.impl.TranslatedH2Exception: Unknown
>>>Database
>>> Error
>>> [WARNING] [talledLocalContainer]        at
>>>
>>> 
>>>org.apache.rave.persistence.jpa.impl.H2OpenJpaDialect.translateException
>>>IfPossible(H2OpenJpaDialect.java:60)
>>>
>>
>> Just doing a quick test I found a couple issues:
>>
>> 1) I also saw the error Jasha mentioned above when trying to create a
>>new
>> user through the UI

Fixed


>> 2) There is also an error when trying to view anyone's profile page

Fixed

>>
>> [WARNING] [talledLocalContainer] Jun 23, 2012 9:35:31 AM
>> org.apache.catalina.core.StandardWrapperValve invoke
>> [WARNING] [talledLocalContainer] SEVERE: Servlet.service() for servlet
>> dispatcher threw exception
>> [WARNING] [talledLocalContainer]
>> org.apache.rave.persistence.impl.TranslatedH2Exception: Unknown Database
>> Error
>> [WARNING] [talledLocalContainer] at
>> 
>>org.apache.rave.persistence.jpa.impl.H2OpenJpaDialect.translateExceptionI
>>fPossible(H2OpenJpaDialect.java:60)
>> [WARNING] [talledLocalContainer] at
>> 
>>org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransaction
>>Manager.java:516)
>> [WARNING] [talledLocalContainer] at
>> 
>>org.springframework.transaction.support.AbstractPlatformTransactionManage
>>r.processCommit(AbstractPlatformTransactionManager.java:754)
>> [WARNING] [talledLocalContainer] at
>> 
>>org.springframework.transaction.support.AbstractPlatformTransactionManage
>>r.commit(AbstractPlatformTransactionManager.java:723)
>> [WARNING] [talledLocalContainer] at
>> 
>>org.springframework.transaction.interceptor.TransactionAspectSupport.comm
>>itTransactionAfterReturning(TransactionAspectSupport.java:393)
>> [WARNING] [talledLocalContainer] at
>> 
>>org.springframework.transaction.interceptor.TransactionInterceptor.invoke
>>(TransactionInterceptor.java:120)
>> [WARNING] [talledLocalContainer] at
>> 
>>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refl
>>ectiveMethodInvocation.java:172)
>> [WARNING] [talledLocalContainer] at
>> 
>>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAop
>>Proxy.java:202)
>> [WARNING] [talledLocalContainer] at
>>$Proxy55.getPersonProfilePage(Unknown
>> Source)
>> [WARNING] [talledLocalContainer] at
>> 
>>org.apache.rave.portal.web.controller.ProfileController.viewProfile(Profi
>>leController.java:66)
>>
>> Chris
>>
>> One other odd thing, on the model branch, when you create a new tab it
>takes you back to the main tab. Previously it had put you on the newly
>created tab.

Fixed

>
>Chris


Mime
View raw message