diff options
author | Sean McGivern <sean@gitlab.com> | 2016-06-21 17:54:41 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-06-21 17:59:20 +0100 |
commit | b2f60bb9a118c366ad462241bd4842c52d872d5f (patch) | |
tree | c35dd2323dbd6af967dbcb7ba261c6e3debca458 /CHANGELOG | |
parent | 707e8d434da9dd8ee07ac2cb8b9556c132aa52ca (diff) | |
download | gitlab-ce-b2f60bb9a118c366ad462241bd4842c52d872d5f.tar.gz |
Fix auto-MR-close text from branch namefix-auto-mr-close
Rails's form helpers use the `$attr_before_type_cast` method where
available, and this value only appears to be updated on assignment, not
when the object is mutated in some other way:
[1] pry(main)> mr = MergeRequest.new
=> #<MergeRequest:0x007fcf28395d88 ...>
[2] pry(main)> mr.description = 'foo'
=> "foo"
[3] pry(main)> mr.description << ' bar'
=> "foo bar"
[4] pry(main)> mr.description
=> "foo bar"
[5] pry(main)> mr.description_before_type_cast
=> "foo"
[6] pry(main)> mr.description += ' bar'
=> "foo bar bar"
[7] pry(main)> mr.description_before_type_cast
=> "foo bar bar"
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 0c3aadc29d1..374cc971ef3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,7 @@ v 8.9.0 (unreleased) - Fix endless redirections when accessing user OAuth applications when they are disabled - Allow enabling wiki page events from Webhook management UI - Bump rouge to 1.11.0 + - Fix MR-auto-close text added to description - Fix issue with arrow keys not working in search autocomplete dropdown - Fix an issue where note polling stopped working if a window was in the background during a refresh. |