# Bug OP-17368 - Possible to deactivate the default work package priority

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Work packages, Administration |
| Target versions | 16.5.0 |
| Observed in versions |  |
| Sprint | 16.5.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 | Jens Ulferts |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Be an admin
    
2.  Go to the administration -&gt; Work packages -&gt; Priorities
    
3.  Go to the priority that is currently the default one
    
4.  Uncheck &quot;active&quot;
    
5.  Save&nbsp;
    

OR

1.  Be an admin
    
2.  Go to the administration -&gt; Work packages -&gt; Priorities
    
3.  Go to the a currently inactive priority or turn one inactive
    
4.  Check &quot;default&quot;
    
5.  Save
    

### What is the buggy behavior?

*   Saving is possible without errors
    
*   (potentially) being able to uncheck &quot;active&quot;  while also having the priority be the default one
    

### What is the expected behavior?

1.  Either:
    
    1.  Saving an inactive default priority produces a visible error AND/OR
        
    2.  The UI prevents unchecking &quot;Active&quot; when &quot;Default&quot; is checked at the same time
