Red Hat Bugzilla – Bug 980075
Application Error when adding new email in Gerrit
Last modified: 2013-07-12 02:22:47 EDT
Description of problem:
try to register new email address:
Cannot format velocity template com/google/gerrit/server/mail/RegisterNewEmail.vm
It didn't work, so I edited my .git/config and changed the email used for commits in order to by-pass the security checks. That bites back at me because although it shows my @gmail address on the web interface it thinks my @redhat.com address is currently configured (the one that gave the server error).
I have not received any email confirmation or anything like that.
Please fix it. This is way too much overhead for submitting a single patch.
This appears to be a recurrence of a previously fixed upstream Gerrit bug: https://code.google.com/p/gerrit/issues/detail?id=1884
However, Gerrit 2.6 was released recently, so we can look into upgrading the Gerrit instance on beaker-project.org to see if that fixes the problem.
(In reply to Alexander Todorov from comment #0)
> Application Error
> Server Error
> Cannot format velocity template
This was caused by wrong permissions on /etc/gerrit/beaker/secure.config. The file was overwritten during the 2.5 upgrade a while back. I've fixed it now.
One day in the magical future Gerrit will be packaged properly and we shouldn't have these problems anymore...
> Please fix it. This is way too much overhead for submitting a single patch.
I agree Alexander, and I'm sorry you had trouble using Gerrit. In future please feel free to send us patches by whatever means suits you best, including Bugzilla attachments, git send-email, written on the back of a napkin... :-)