[ 
http://mifosforge.jira.com/browse/MIFOS-3499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62409#action_62409
 ] 

Wojciech Marchaj commented on MIFOS-3499:
-----------------------------------------

Appropriate error message displayed.

Commit Identifierc9457b0b04c25e10f8548e953aa3e474feee3082
Build DateTue Nov 23 00:09:45 PST 2010
Build Numberhudson-head-1.7.x-309

> If user does not have right to create a group, Mifos throws a NPE instead of 
> a permission error
> -----------------------------------------------------------------------------------------------
>
>                 Key: MIFOS-3499
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3499
>             Project: mifos
>          Issue Type: Bug
>          Components: Roles and Permission
>    Affects Versions: Release 1.6.0
>            Reporter: Ryan Whitney
>            Assignee: Narcisa Pantilimon
>             Fix For: Release E - Iteration 11, Release E
>
>         Attachments: 
> 0001-Message-error-when-no-permissions-to-add-group.patch, MIFOS 3499 - 
> Error.txt
>
>
> If the user does not have the Group permission "Can create new group in 
> submit for approval state" and tries to create a group, when they click on 
> "Submit for Approval", mifos throws a NPE instead of a permissions error.
> REPRO:
> You can see this on demo.mifos.org
> user: baatest
> passwd: mifostest
> 1. Find a center in Pasay Branch
> 2. Click on Add Group
> 3. Enter in information and click on preview
> 4. Click on Submit for Approval
> EXPECTED:
> Mifos displays an error stating the user doesn't have permission for the 
> action
> ACTUAL:
> Mifos throws a NPE 
> Error attached

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to