Issues on /Secure/Register.aspx

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/4/2007 7:46:42 AM
Gravatar
Total Posts 488

Issues on /Secure/Register.aspx

1. On my local site (pgsql version from /branches/joesandbox2) registration does not work at all. After the [postback I am still on the same page, and nothing happens.

According to the debugger, after I enter all the fields and press on the "I agree" button, it enters RegisterUser_CreatingUser, sees that IsValid==false and exits with no comments. I just cannot understand why - as I can see, I enter everything correct.

It would be nice to add some validators to display concrete error messages (as you have already done on the "change password" page).

 

 

2. In my custom profile I have the following property defined:

<add name="ProviderBranch"
type="System.String"
resourceFile="WebProfile"
labelResourceKey="ProviderBranch"
requiredForRegistration="true"
visibleToAnonymous="false"
visibleToAuthenticated="true"
visibleToUser="true"
editableByUser="true"
maxLength="100"
columns="45"
rows="1"
onlyAvailableForRoles=""
onlyVisibleForRoles=""
>
<OptionList>
<Option value="1" TextResourceKey="ProviderBranch_1"></Option>
<Option value="2" TextResourceKey="ProviderBranch_2"></Option>
<Option value="3" TextResourceKey="ProviderBranch_3"></Option>
</OptionList>
</add>

It is displayed on the registration page as a combobox with 3 options. Agter the postback mentioned above, all the items are added once more - so there are 6 of them. Every postback adds them once more.

 

P.S. Issue 1 is not dependent on the property mentioned - when setting it to requredForRegistration="false", nothing changes.

5/4/2007 12:18:45 PM
Gravatar
Total Posts 18439

Re: Issues on /Secure/Register.aspx

Can you get latest of svn/branches/2.x and let me know if its fixed now?

Thanks,

Joe

5/7/2007 2:08:55 AM
Gravatar
Total Posts 488

Re: Issues on /Secure/Register.aspx

Thanks for the validators working!

Still have some issues:

1. After the postback that causes validation failure, the combobox with my custom property just disappears.

2. Question and answer are asked and required even if "Requires Question and Answer" setting is "false" in site settings. Is that a feature? Does this site setting just affect the password recovery process, or there is an opportunity to completely disable q&a?

3. Even everything is entered correctly (no validators are displayed and user is created), the value of my custom property is not saved correctly (in "my profile" I see the first value of the combobox even if I selected the second one on registaration).

4. When using ru-RU browser settings, agreement is shown in any case, even below the "registration complete" message. When using english browser settings, agreement is not shown at all.

5. Some design issues:

    - better to move "I agree" button below the agreement

    - "Complete <linebreak> Your account has been successfully created." as a success message doesn't look great. Better either to shorten it (remove the first line) or to write some text like "Congratulations! You are now a member and is able to use all the features including ...".


6. Just a question. Where does the "complete" message come from? It is localized, but I cannot see where (and change it).

5/7/2007 9:27:33 AM
Gravatar
Total Posts 18439

Re: Issues on /Secure/Register.aspx

1. should be fixed let me know if not

2. I've implemented it now so it hides the q and a if they are not required. Would be good to test password recovery when no q and a is required as I haven't tested it.

3. same as #1, let me know if it still happens

4. Its just because the english file has no text in it. This is really something to be customized by the site owner if they want to show it.

5 and 6. I moved the agreement above the button. I removed the "Complete" so now there is just one localizable message. It will use RegistrationRequiresEmailConfirmationMessage or RegisterCompleteMessage depending on whether email confirmation is required.

Thanks,

Joe

5/21/2007 7:26:41 AM
Gravatar
Total Posts 488

Re: Issues on /Secure/Register.aspx

1,2,3,5,6 Thanks, that works ok now.

4. Ok, I understood. May be, replace it (in all languages) with some default message meaning "here goes the licence agreement, edit ... file to edit this message."?

One more thing: it would be nice to move validation messages above the licence text (as the licence text can be long).

 

5/21/2007 2:25:18 PM
Gravatar
Total Posts 18439

Re: Issues on /Secure/Register.aspx

Ok, I'll move the agreement below the validation.

I don't know about putting in default "edit me text", the problem I see is every time you upgrade or redploy your custom text will get replaced by this default text. I'm considering removing these files from svn altogether to avoid this and just document how to add an agreement by creating this file.

As you can see I don't use any agreement on this site and I don't want to have to edit that file to remove any text every time I deploy it, thats why its empty and it might be best to remove it from the sources altogether so that once it is created it never gets overwritten.

Thanks,

Joe

 

5/23/2007 7:32:03 AM
Gravatar
Total Posts 488

Re: Issues on /Secure/Register.aspx

Thanks for moving the messages.

I didn't really think about deployment issues. In this case removing these files from repository seems to be a good solution.

You must sign in to post in the forums. This thread is closed to new posts.