Bug #39330 Attempt to update a previously saved Profile property failed
Submitted: 8 Sep 2008 23:54 Modified: 15 Sep 2008 15:54
Reporter: Darlington Adibe Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:5.2.3 OS:Any
Assigned to: CPU Architecture:Any

[8 Sep 2008 23:54] Darlington Adibe
Description:
Attempting to update a previously saved peropery will fail with ProfilProvider

How to repeat:
Add a ProfileProvider in web.config in a web application that is already using the mebership provider. Add and save a property and then try to update in witha new value. It
will then fail.
[9 Sep 2008 6:30] Tonci Grgin
Continued from Bug#36454.
[9 Sep 2008 17:05] Reggie Burnett
I can't seem to see this break.  I create a web app and connected the membership and profile providers from 5.2.3.  I created a user and logged in with that user on my start page.  In my web.config I created an anonymous property.  On my second page I set that property to 30. It's an int property.  On my third page I check that property and then update its value to 40.  Works perfectly.  What am I missing?
[10 Sep 2008 1:58] Darlington Adibe
A zip file that contains the website that can be use to regenerate bug #39330

Attachment: TestProfile-39330.zip (application/x-zip-compressed, text), 141.85 KiB.

[10 Sep 2008 2:06] Darlington Adibe
Above is an attached zip file containing all the file needed to re generate the bug I submitted, I have regenerated it consitently on my Laptop, Desktop and even a friend laptop -  also included is the MySql.Data.dll and MySql.web.dll files please as downloaded from the site (version 5.2.3)

Unzip into a folder and open with VS2005 as a website then view default.aspx in the browser, Enter a Name in the text box hit the button, the name will be saved in the profile property FullName, if you hit the button again, an attempt will be made to update the FullName profile property that when the error is throw.

I hope this helps!!
[12 Sep 2008 14:13] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/53979
[12 Sep 2008 14:14] Reggie Burnett
fixed in 5.2.4
[15 Sep 2008 15:54] Tony Bedford
An entry was added to the 5.2.4 changelog:

When using ProfileProvider, attempting to update a previously saved property failed.