Issue 1348: Incorrect Gerrit-MessageType on restoring a change
Status:  Released
Owner: ----
Closed:  Apr 2012
Reported by innocent...@gmail.com, Apr 23, 2012
Affected Version: 2.2.1

What steps will reproduce the problem?
1. Abandon a change, then restore it
2. Check your e-mail for incorrect Gerrit-MessageType

What is the expected output? What do you see instead?
"Gerrit-MessageType: restore" and "Mr. Foobar has restored this change"

Instead, we're seeing "Gerrit-MessageType: abandon" and "Mr. Foobar has abandoned this change"

I doubt it's something change-specific, but in case it helps, this was reported when I restored https://gerrit.wikimedia.org/r/#change,5547
Apr 23, 2012
Project Member #1 edwin.ke...@gmail.com
This has already been fixed with Gerrit 2.2.2. Have a look at the section 'Add a Restored.vm template and use it.' in the release notes [1]. The change the fixed the issue can be found here [2].

[1] http://gerrit-documentation.googlecode.com/svn/ReleaseNotes/ReleaseNotes-2.2.2.html
[2] https://gerrit-review.googlesource.com/24221
Status: Released
Labels: FixedIn-2.2.2