# Bug OP-8437 - Saving changes to user profile after handling error message leads to user profile instead of edit user page

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8437

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.0.0 |
| Observed in versions |  |
| Sprint | 14.0.0 |
| 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

### **Environment**:

Your OpenProject Version: Edge (2021-03-05 10:38:23) / Cloud Edition

Operating System / Browser / OpenProject language: Windows / FF / EN

### **Logs**

### **Steps to reproduce:**

1.  Administration -\> Users & Permissions -\> click on user
2.  Produce error (e.g. by changing email address to another user's email address
3.  Press "Save"
4.  Close error message. Correct step 2 (e.g. change email address back)
5.  Press "Save"

### **Actual Behavior**

The user profile page is opened (screenshot below from user with "create and edit user role", but this happens for admin user, too.

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20754/content"></div></figure>

### **Expected Behavior**

Similar to saving without prior error message: Stay on the edit user page
