You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Jasha Joachimsthal (Created) (JIRA)" <ji...@apache.org> on 2012/04/06 09:24:27 UTC

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

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

        

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

Posted by "Jasha Joachimsthal (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jasha Joachimsthal resolved RAVE-553.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.11

Was caused by RAVE-541 and solved
                
> 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
>             Fix For: 0.11
>
>
> 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

        

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

Posted by "Jasha Joachimsthal (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jasha Joachimsthal updated RAVE-553:
------------------------------------

    Fix Version/s: 0.10.1
    
> 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
>             Fix For: 0.10.1, 0.11
>
>
> 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

        

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

Posted by "Ate Douma (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248184#comment-13248184 ] 

Ate Douma commented on RAVE-553:
--------------------------------

Confirmed. Just tried it myself (with the 0.10 binary download) and can't enter the portal with a newly created user (non-LDAP, so its not LDAP related but generic).

Seems like a blocker (for this release candidate) to me...
                
> 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

        

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

Posted by "Ate Douma (Updated) (JIRA)" <ji...@apache.org>.
     [ 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