U4-3968 - Umbraco 7.01 - Membership - Public Access - Add Single User protection - crash

Created by Petras Surna 05 Jan 2014, 12:16:17 Updated by Shannon Deminick 14 Jan 2014, 01:39:02

This is the second bug in this video http://screencast.com/t/aK99BOR8U from 1:55

Get some Content Go to Public Access Add Single User protection Save Crash

Server Error in '/' Application.


Value cannot be null. Parameter name: mbt Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: mbt

Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Value cannot be null. Parameter name: mbt] umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String LoginName, String Email, MemberType mbt, User u) +845 umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String Email, MemberType mbt, User u) +20 umbraco.presentation.umbraco.dialogs.protectPage.protect_Click(Object sender, CommandEventArgs e) +563 System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +9750746 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +252 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724

Comments

Shannon Deminick 14 Jan 2014, 01:04:50

This is due to the new string helper stuff and it's stripping leading underscores for the temporary member type name of "_umbracoSystemDefaultProtectType"

Will ask @stephen about what to do here.


Shannon Deminick 14 Jan 2014, 01:38:27

Temp fix in rev: eedd10933217f1385896370b47695d9c8cb01eb6

IMO, the string helper should just not strip leading underscores from aliases


Priority: Major

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.1

Due in version: 7.0.2

Sprint:

Story Points:

Cycle: