TODO not created when assigned after initial merge request creation
Summary
TODO is not created when assigned after initial merge request creation. As a result, user has merge requests assigned to them, but no notification or email is generated to prompt the user to address the merge requests.
Steps to reproduce
- create a merge request without making an assignment
- edit merge request
- create assignment by changing the selectpicker drop-down in the main body of the merge request column (not** via the sidebar)
- save changes
What is the current bug behavior?
No TODO is created for this task. The current workaround for this is the user is expected to use the sidebar to edit assignee after the fact. This amounts to 2 different ways to accomplish the same function, but each only works fully under certain conditions.
What is the expected correct behavior?
A TODO should be created for the assignee, regardless of whether it occurs upon merge request creation or edit, and regardless of whether the dropdown or sidebar is used to make the change to the assignee. (Possibly related to that: If a user is UNassigned a task, the TODO related to this merge request should be automatically removed.)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)
Results of GitLab application Check
Expand for output related to the GitLab application check
System information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.3.1p112 Gem Version: 2.6.6 Bundler Version:1.13.6 Rake Version: 10.5.0 Sidekiq Version:4.2.1GitLab information Version: 8.14.5-ee Revision: 1ce744f Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 9.2.18 URL: http://homci02 HTTP Clone URL: http://homci02/some-group/some-project.git SSH Clone URL: git@homci02:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 4.0.3 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/ Git: /opt/gitlab/embedded/bin/git