Issue 1428: Register Email not replace $email.gerritUrl
Status:  Invalid
Owner: ----
Closed:  Jan 2013
Reported by nlpa...@gmail.com, Jun 7, 2012
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:gerrit-2.4.war 

What steps will reproduce the problem?
1.setup gerrit2 with http auth 
2.register new accout and receive register email

What is the expected output? What do you see instead?
the $email.gerritUrl hasn't replace with the gerrit http url value, in register email display "$email.gerritUrl" in email.

Please provide any additional information below.

Aug 9, 2012
#1 yuanwei2...@gmail.com
i meet the issue too.

Welcome to Gerrit Code Review at msm. 

To add a verified email address to your user account, please 
click on the following link while signed in as linpeng: 

$email.gerritUrl#/VE/Xf+++k34qUt3VnbgOwuQVvfPG9P7R3dDXwDRfQ==$MTAwMDAwMTp5dWFud2VpQGh5bW9zdC5jb20= 

If you have received this mail in error, you do not need to take any 
action to cancel the account. The address will not be activated, and 
you will not receive any further emails. 

If clicking the link above does not work, copy and paste the URL in a 
new browser window instead. 

This is a send-only email address. Replies to this message will not 
be read or answered. 

Aug 21, 2012
#2 serb...@gmail.com
gerrit-2.4.2:

Welcome to Gerrit Code Review at ****

To add a verified email address to your user account, please
click on the following link while signed in as ******:

$email.gerritUrl#/VE/I0UavDNPTbXqHp26pf0VbUswVtgPNmzcqDsAeg==$MTpqb2FraW0uc2VybmJyYW50QHRyaW9wdGltYS5jb20=

If you have received this mail in error, you do not need to take any
action to cancel the account.  The address will not be activated, and
you will not receive any further emails.

If clicking the link above does not work, copy and paste the URL in a
new browser window instead.

This is a send-only email address.  Replies to this message will not
be read or answered.

Jan 17, 2013
#3 hardikpr...@gmail.com

I have configured the gerrit 2.5.1 and i am getting below in email verification.
=================================================================================
Welcome to Gerrit Code Review at xxxxx(SERVER NAME).

To add a verified email address to your user account, please
click on the following link while signed in as XXX($USER):

$email.gerritUrl#/VE/eHKNSmhD9UPmDcSet2PYq85/EWur4Ny0EJvnkw==$MTAwMDAwMDpocGF0ZWxAYWlyY2VsbC5jb20=

If you have received this mail in error, you do not need to take any
action to cancel the account.  The address will not be activated, and
you will not receive any further emails.

If clicking the link above does not work, copy and paste the URL in a
new browser window instead.

This is a send-only email address.  Replies to this message will not
be read or answered.
=============================================================================

If i replace the string email.gerritUrl# to http://SERVER:GERRIT_PORT/# with remaining  link as it is. this works and allow me to register the email. but it should happened automatically.

Is it OKAY if i modify the vo.example files in gerrit(Review_site)/etc/mail/RegisterNewEmail.vm.example ??
Jan 17, 2013
#4 sop@google.com
Set gerrit.canonicalWebUrl in your gerrit.config file.
Status: Invalid