[Mono-bugs] [Bug 647631] New: membership.CreateUser with blank username should rise System.Web.Security.MembershipCreateUserException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 19 04:01:08 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=647631

https://bugzilla.novell.com/show_bug.cgi?id=647631#c0


           Summary: membership.CreateUser with blank username should rise
                    System.Web.Security.MembershipCreateUserException
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: jasl at darcysoft.es
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)

membership.CreateUser(""... should rise a
System.Web.Security.MembershipCreateUserException exception with message 'The
username supplied is invalid.'

net Framework rise this exception, but Mono creates the user with no name.


Reproducible: Always

Steps to Reproduce:
1.Call membership.CreateUser with an empty string as username parameter.
2.
3.
Actual Results:  
The user is created.

Expected Results:  
should rise a System.Web.Security.MembershipCreateUserException exception with
message 'The username supplied is invalid.'

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list