StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


12»»

Change Password Dialog Issues/QuestionsExpand / Collapse
Author
Message
Posted 08/29/2007 4:55:55 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 3:26:36 PM
Posts: 1,193, Visits: 3,031
I just added a call to show the user the change password dialog. However, there are some problems with it.

- The user isn't set. The user name textbox is blank. How does this get set? I'm calling after logging on, so there is a current user.

- The Confirm Password label is cut off. I tried to set the form as resizable, but the label isn't anchored.

- The tab order is apparently whacked. It tabs from the old password to the OK button, that's all.

Maybe there is another way to call this that I'm missing?
Post #11225
Posted 08/29/2007 5:23:26 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 3:26:36 PM
Posts: 1,193, Visits: 3,031
OK, I found the Login.ShowPasswordChangeForm() method. I call it and the user name is set. I then successfully change the password (rather the method returns true).

I then go to test it. I log off and try to log back on with the new password (I stay within the application, just change the current user), I get an exception:

ArgumentException
An entry with the same key already exists.

Source : System

Stack Trace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.TreeSet`1.Add(T item)
at System.Collections.Generic.SortedDictionary`2.Add(TKey key, TValue value)
at MicroFour.StrataFrame.Security.Login.AuthenticateUser(String Username, String Password, String Domain, SFSUsersBO& User)
at MicroFour.StrataFrame.Security.Login.AttemptLogin(Object sender, EventArgs e)
at FOXSystems.RAMS.RAMSLoginForm.OnAttemptLogin() in RAMSLoginForm.vb:line 38
at FOXSystems.RAMS.RAMSLoginForm.btnOk_Click(Object sender, EventArgs e) in RAMSLoginForm.vb:line 322
...etc.

Note I'm using my own login form.

When I exit the application and attempt to login, the login fails, saying the credentials provided can't be authenticated.

I must be missing something, because I'm pretty sure this method/form is well used by many of you...

Any help appreciated!
Post #11226
Posted 08/30/2007 9:29:03 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 08/01/2008 8:53:41 AM
Posts: 2,671, Visits: 1,879
Well, let me work up a sample and I'll let you know.


www.bungie.net
Post #11239
Posted 08/31/2007 11:32:08 AM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 3:26:36 PM
Posts: 1,193, Visits: 3,031
How's this going Ben?
Post #11278
Posted 09/03/2007 11:30:58 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 08/01/2008 8:53:41 AM
Posts: 2,671, Visits: 1,879
I ran into a few snags with it on Friday.  I'll let you know a better timeline on a fix after our scheduling meeting on Tuesday with Trent back in town.


www.bungie.net
Post #11298
Posted 09/04/2007 1:52:44 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 3:26:36 PM
Posts: 1,193, Visits: 3,031
Thanks Ben!
Post #11325
Posted 09/10/2007 1:21:19 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 3:26:36 PM
Posts: 1,193, Visits: 3,031
What is the status on this? Are there any work arounds?
Post #11407
Posted 11/04/2007 10:58:47 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: Today @ 3:26:36 PM
Posts: 1,193, Visits: 3,031
Any progress on this?
Post #12400
Posted 11/05/2007 9:11:37 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 9:23:48 AM
Posts: 4,366, Visits: 4,392
Yeah, it is on our list and will be fixed before we release the next update.  Sorry for the delay, but we have made a number of enhancements to the core of the framework in the UI side to improve rendering and performance accross RDP sessions and in general, along with some other changes that we have really wanted to test in depth before pushing out a build.  That is where the delay has been.  But this will be included in the next update when released.
Post #12417