• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
A user is supposed to click on the registration e-mail to activate the account. This works properly most of the time, but I get at least two e-mails a week stating that "my activation code does not work on twiki.org", even though the user is already properly registered. This can happen if the user clicks twice on an activation link. It also happens if the mail software submits a URL twice on click (known bug of one mail program).

This error message is very confusing if the user already activated the account:

Invalid Activation Code
The activation code JohnSmith.6632684001 is invalid. Please try again.

The activation code should check if the user already activated the account, and show a message like this:

You already activated your account. Visit your homepage JohnSmith.

-- PTh


I am attaching a preliminary fix, yet I'd suggest to not commit it for 4.1: A proper fix needs I18N texts, time is too short to re-open for translations, and I would prefer to avoid a release which starts with unfinished translations. If it saves work for twiki.org, feel free to apply the patch.

What the patch does
If a user's code is invalid but the user is already registered, it writes:
*You are already registered*
The name 'YourWikiName' has already been registered successfully.
Please contact WEBMASTER if you have any questions.
What the patch does not do
There is no chance to find out whether it was actually the same user who activated his account twice, or whether there has been a race condition or even an (failed) attempt to hijack a registration. I consider this harmless.

The text in the patch does not point to a user home page since user home pages might be non-existant with alternative login and/or user mapping managers.

Within the current definitions, I'm setting this item to "Actioning" though I'll not take further action beyond attaching the fix before 4.1 is out.

-- HJ

i checked the patch into MAIN (after various updates, as the source has moved) - thanks harald!

CC

ItemTemplate
Summary Usability: Misleading "Invalid Activation Code" error message
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4
SVN Range TWiki-4.1, Sun, 05 Nov 2006, build 11901
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:13771
TargetRelease minor
ReleasedIn 4.2.0
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatext diff_Item3105 r1 manage 8.1 K 2007-01-07 - 01:26 HaraldJoerg A preliminary patch (without translations)
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback