0

Closed

Integrated Samples: Storefront: The warning messages are not prompted when update account with Null Password.

description

Environment:

1. Win2k3 ENT ENU
2. Yukon DEV ENU 09.06.2031.00, Sample MSI 62013
3. Whidbey 8.0.50727.42

Pre Steps

  1. Open and run AWStore.sql using Microsoft SQL Server Management Studio
  2. Use "Engine/Programmability/CLR/AdventureWorks\Scripts\installCS.sql" to create required
    user-defined functions and store procedures.
  3. Set folder "...\CS\StoreCSVS" Web Sharing to create StoreCSVS virtual root.
  4. Open the Analysis Services project "\Program Files\Microsoft SQL Server\90\Tools
    \Samples\ AdventureWorks Analysis Services Project\Enterprise\Adventure Works.sln. Deploy
    the project.
  5. Connect to the analysis server and open the property windows. select the Security page
    Add network service.
  6. Open and rebuild "...\CS\StoreCSVS.sln"

Repro Steps:

  1. Run StoreCSVS web application by type "http://localhost/storeCSVS/OrderList.aspx" in explorer address.
  2. Fill the fields of new account
          First Name: Daniel                       Last Name:Li
          Email:  Daniel@hotmail.com        Old Password:test
          Password:                 Confirm Password:
  3. Click <Submit> to update password.

Expectation:

Display the warning messages " 'Password' must not be left blank" on the right of Password and " 'Password' must not be left blank" on the right of Confirm Password.

Actual Result:

The warning messages are not prompted when update account with Null Password and Null Confirm Password. It seems that the Null password has been updated successfully without any error or warning messages. But in fact, the Null password does not work when sign in at the next time.

Comments:

Open the file OrderList.aspx in the Design mode. It displays " 'Password' must not be left blank" on the right of Password and " 'Password' must not be left blank" on the right of Confirm Password. From this, I think that the above warning messages should be prompted when Submit with Null Password and Null Confirm Password.
Closed Jul 17, 2009 at 5:15 AM by leilu

comments

wrote Apr 21, 2009 at 8:50 AM

Removed the file "...\Storefront\OrderingServiceScripts\Scenario.sql".

wrote Apr 21, 2009 at 8:52 AM

Modified the file "...\Storefront\CS\StoreCSVS_AccountSettings.ascx.cs":-->Ln212: set "PasswordValidator.Enabled = false;" to   "PasswordValidator.Enabled = true;".-->Ln213: set "ConfirmPasswordRequiredValidator.Enabled = false;" to   "ConfirmPasswordRequiredValidator.Enabled = true;".

wrote Jul 17, 2009 at 5:15 AM

Verified on Sample Build 90714

wrote Feb 14, 2013 at 2:57 AM

wrote May 16, 2013 at 7:05 AM