• 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.

Item7158: New User page doesn't copy email address from UnprocessedRegistrations

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine User Registration Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Using BulkRegistration, new user topics in Main do not get the email address added to the topic.

For example, given the following UnprocessedUsers table:

FirstName LastName Email WikiName
Test User1 user1@junkNOSPAM.com TestUser1
Test User2 user1@junkNOSPAM.com TestUser2

and running BulkRegistration

  • pages are created for Main.TestUser1 and TestUser2

  • First and Last name fields are correctly updated

  • Email field is empty

-- TWiki:Main/VickiBrown - 2013-02-21

  • screenshot:
    Item7158ScreenShot2013-02-21_1.png

  • Screen shot 2:
    Item7158ScreenShot2013-02-21_2.png

My guess is that this is due to the following code in lib/TWiki/UI/Register.pm

# Keys from the user data that should *not* be included in
# the user topic.
my %SKIPKEYS = (
    Photo                   => 1,
    WikiName                => 1,
    LoginName               => 1,
    Password                => 1,
    Email                   => 1,
    SystemGeneratedPassword => 1,
    MustChangePassword      => 1
   );

which seems to be actively not copying over the Email.

I don't understand is the rationale for not copying the email address to a form that specifically has a place for the email address.

-- TWiki:Main.VickiBrown - 2013-03-05

ItemTemplate
Summary New User page doesn't copy email address from UnprocessedRegistrations
ReportedBy TWiki:Main.VickiBrown
Codebase 5.1.3, 5.1.1
SVN Range TWiki-5.1.3-trunk, Wed, 20 Feb 2013, build 25123
AppliesTo Engine
Component User Registration
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng Item7158ScreenShot2013-02-21_1.png r1 manage 68.9 K 2013-02-21 - 22:28 VickiBrown screenshot
PNGpng Item7158ScreenShot2013-02-21_2.png r1 manage 43.7 K 2013-02-21 - 22:29 VickiBrown Screen shot 2
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2013-03-05 - VickiBrown
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback