# Bug SSI-397 - Updating custom field items for hierarchies with invalid data fails

Project: Stream Storage Integrations
Status: closed
URL: https://community.openproject.org/work_packages/SSI-397

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 16.4.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as an admin
    
2.  Go to any custom field of type hierarchy or scored list
    
3.  Edit an Item and submit invalid input e.g. an empty label
    

### What is the buggy behavior?

*   The page redirects to the edited item
    

### What is the expected behavior?

1.  The form must not close.
    
2.  inline validation must be displayed.
