rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RAVE-553) Exception thrown when new user logs in
Date Fri, 06 Apr 2012 07:24:27 GMT
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: Critical

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


View raw message