Files
gitlabhq/app/models
Dmitriy Zaporozhets 90e47dd949 Merge branch 'rs-issue-1773' into 'master'
Fix mentions not being created upon issue/merge request update

New cross-references weren't being added when they were made in an issue or merge request update.

This happened because the relevant `UpdateService`s were making the `notice_added_references` call
after the model had already been updated and saved, so the `changes` attribute was empty and no
cross-references were made at all.

This fixes the bug and adds a bit of testing and a bit of refactoring.

Closes #1773

See merge request !974
2015-07-14 08:40:08 +00:00
..
2015-05-21 23:48:16 -04:00
2015-05-03 13:38:27 -07:00
2011-10-09 00:36:38 +03:00
2015-05-03 13:38:27 -07:00
2015-04-03 12:28:47 +02:00
2015-07-02 21:28:31 +09:00
2015-06-03 16:15:58 +02:00
2014-08-25 12:25:02 +03:00
2015-05-03 13:38:27 -07:00
2014-10-09 18:22:20 +03:00
2015-05-03 13:38:27 -07:00
2014-10-09 18:22:20 +03:00
2015-05-03 13:38:27 -07:00
2015-06-20 01:06:57 +02:00
2015-03-16 21:38:41 +02:00
2015-05-18 22:51:56 +02:00
2014-08-25 12:25:02 +03:00