# Bug OP-12879 - Missing StorageType leads to server error in storage creation form

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

## Open points

_No work packages_

## Details

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

### Steps to reproduce

1.  Go to file storages section in OpenProject administration
2.  Click on &quot;Add storage&quot;
3.  Entern an invalid Host URL
4.  Submit form

### What is the buggy behavior?

*   The form now looks like this:

<img class="op-uc-image op-uc-image_inline" style="width:708px;" src="/api/v3/attachments/59515/content">

*   Resubmitting with the same data leads to a server error:

<img class="op-uc-image op-uc-image_inline" style="width:523px;" src="/api/v3/attachments/59516/content">

### What is the expected behavior?

1.  Resubmitting should lead to the same form as when the user has opened the form
2.  Resubmitting should just show the same error again instead of raising a server error
