You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Ate Douma (Updated) (JIRA)" <ji...@apache.org> on 2012/04/06 11:13:33 UTC

[jira] [Updated] (RAVE-553) Exception thrown when new user logs in

     [ https://issues.apache.org/jira/browse/RAVE-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma updated RAVE-553:
---------------------------

    Priority: Blocker  (was: Critical)
    
> Exception thrown when new user logs in
> --------------------------------------
>
>                 Key: RAVE-553
>                 URL: https://issues.apache.org/jira/browse/RAVE-553
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.10
>            Reporter: Jasha Joachimsthal
>            Priority: Blocker
>
> Create a new user or use the ldap user johnldap/johnldap
> User profile is created. When you log in with this user, no default page type is found and the user gets the error page instead of an empty tab.
> In my database I see that a Person Profile page with the About and My Activity sub pages were created, but not a Main page.
> Snippet from the stack trace:
> [WARNING] [talledLocalContainer] javax.persistence.NoResultException: Query "SELECT p FROM PageTemplate p WHERE p.defaultTemplate = true and p.pageType = :pageType" selected no result, but expected unique result.
> [INFO] [talledLocalContainer] 80885  ravePersistenceUnit  TRACE  [http-8080-1] openjpa.jdbc.SQL - <t 1038722314, conn 809871482> [0 ms] spent
> [WARNING] [talledLocalContainer]        at org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:361)
> [WARNING] [talledLocalContainer]        at org.apache.rave.portal.repository.impl.JpaPageTemplateRepository.getDefaultPage(JpaPageTemplateRepository.java:47)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira