Uploaded image for project: 'Rave'
  1. Rave
  2. RAVE-553

Exception thrown when new user logs in

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.10.1
    • 0.10.1, 0.11
    • None
    • None

    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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            jasha Jasha Joachimsthal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: