User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_4; en-US) AppleWebKit/533.21.1+(KHTML, like Gecko, Safari/533.19.4) Version/5.11.1 OmniWeb/622.18.0
Steps to reproduce:
Try to add a comment or a "See Also" URL to a bug with resolution "MOVED".
An error page appears with "You cannot set the resolution of a bug to MOVED without moving the bug."
The resolution was not changing. It was _already_ MOVED so it should not have triggered this error.
Note that if I change the value "MOVED" to check "Enabled for bugs" I can then add comments and URLs, etc. But this leaves that resolution open to anyone to use for any bug even if it's not moved.
See also Bug 431730 - "Bugs with resolution MOVED cannot be edited anymore". This is evidently another regression of the same symptom.
This is a duplicate of Bug 431730. Please mark it accordingly.
I can reproduce the issue with 4.5. This means the extension is really broken and unusable.
Created attachment 666195 [details] [diff] [review]
We must not throw an error if the resolution was already set to MOVED.
Let's take it for 4.0 too, which is where this extension has been implemented. In fact, the extension never worked correctly once a bug was marked as MOVED. This patch applies cleanly to all branches and works as expected.
Comment on attachment 666195 [details] [diff] [review]
Committing to: bzr+ssh://firstname.lastname@example.org/bugzilla/trunk/
Committed revision 8405.
Committing to: bzr+ssh://email@example.com/bugzilla/4.4/
Committed revision 8401.
Committing to: bzr+ssh://firstname.lastname@example.org/bugzilla/4.2/
Committed revision 8142.
Committing to: bzr+ssh://email@example.com/bugzilla/4.0/
Committed revision 7725.