# Bug OP-1542 - Default status always included in WP form -> invalid workflows offered

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

## Open points

_No work packages_

## Details

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

  - Work package (“WP\_1”) exists with status other than default status (e.g. “Status\_A”)
  - Current user does have no role in the work packages allowing a work flow from the current status (“Status\_A”) to the default status (“Status\_D”)

**Expected**

  - When opening the work package (“WP\_1”) for editing, the current status (“Status\_A”) should be displayed as a string, not as a select, as the user has no workflow.
  - When saving the work package and only changing the subject, the saving should complete successfully.

**Actual**

  - When opening the work package (“WP\_1”) for editing, the default status (“Status\_D”) is displayed as the only selectable option for the work package’s new status.
  - When saving the work package and only changing the subject, the saving fails with the error message: “Status no valid transition exists from old to new status for the current user roles” 
  - There is a typo in the german localisation for the error “Status es existiert kein valider Übergang vom alten zum neuen Status für die aktuellen Nuter-Rollen” (sic\!)
