[gatein-issues] [JBoss JIRA] (GTNPORTAL-3356) NPE when Add new page in Page Management

Vu Viet Phuong (JIRA) issues at jboss.org
Thu Jan 2 03:05:32 EST 2014


     [ https://issues.jboss.org/browse/GTNPORTAL-3356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vu Viet Phuong updated GTNPORTAL-3356:
--------------------------------------

    Status: Open  (was: Pull Request Sent)


We should not remove this line, the UIPageForm#buildForm is also used when user edit the Dashboard page, that belongs to usersite, then we need the SiteType.USER option
                
> NPE when Add new page in Page Management
> ----------------------------------------
>
>                 Key: GTNPORTAL-3356
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-3356
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Trong Tran
>            Assignee: Vu Viet Phuong
>             Fix For: 3.7.0.Final
>
>   Original Estimate: 4 hours
>          Time Spent: 4 hours
>  Remaining Estimate: 0 minutes
>
> Steps to reproduce:
> - Log-in as root
> - Add Page Management to the Home page, and make it public (everyone can access)
> - Log-out
> 1/ Click on "Add new page" in anonymous mode, it throws NPE ==> NOK
> 2/ Login with marry, then click on "Add new page". It also throws NPE ==> NOK
> Expected: Show warning message if user don't have right to create new page in any space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list