# Bug OP-3537 - Cannot erase a member from a project

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-3537

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | Won't Fix |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

**Preconditions to reproduce the bug**

Any browser, tried with different users and projects

**Steps to reproduce the bug**

Go to Project-\>Members, try to erase one (or a group)

**Actual behaviour**

Internal error

An error occurred on the page you were trying to access.  
If you continue to experience problems please contact your OpenProject administrator for assistance.

If you are the OpenProject administrator, check your log files for details about the error.

Back

Log:

F, [2017-04-05T13:02:30.428336 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : ActiveRecord::ConfigurationError (Can’t join ‘Document’ to association named ‘watchers’; perhaps you misspelled it?):  
F, [2017-04-05T13:02:30.428392 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — :  
F, [2017-04-05T13:02:30.428442 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/models/watcher.rb:143:in `watchers_of_watchable’  
F, [2017-04-05T13:02:30.428521 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/models/watcher.rb:85:in `block in watchers_in_projects’  
F, [2017-04-05T13:02:30.428586 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/models/watcher.rb:82:in `each’  
F, [2017-04-05T13:02:30.428637 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/models/watcher.rb:82:in `inject’  
F, [2017-04-05T13:02:30.428682 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/models/watcher.rb:82:in `watchers_in_projects’  
F, [2017-04-05T13:02:30.428768 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/models/watcher.rb:64:in `prune_project_related’  
F, [2017-04-05T13:02:30.428818 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/models/watcher.rb:45:in `prune’  
F, [2017-04-05T13:02:30.428864 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/models/member.rb:237:in `unwatch_from_permission_change’  
F, [2017-04-05T13:02:30.428910 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/controllers/members_controller.rb:101:in `destroy’  
F, [2017-04-05T13:02:30.428955 <mention class="mention" data-id="5373" data-type="work_package" data-text="#5373">#5373</mention>] FATAL — : app/middleware/reset_current_user.rb:47:in `call’

**Expected behavior**

Successfully delete member / group
