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


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

        

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to