Description
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)