# Bug OP-18462 - "Show attachments in the files tab by default" potentially overwrites the setting for existing project

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Attachments |
| Target versions | 17.2.0 |
| Observed in versions | 16.6.0 |
| Sprint | 17.2.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.6.x |
| 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 | Eric Schubert |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Have a project.
    
2.  In that project do not change the setting for &quot;Project settings&quot; -&gt; &quot;Files&quot; -&gt; &quot;Attachments&quot; -&gt; &quot;Show attachments in the work packages files tab&quot; but see that it is active
    
3.  Go to the administration &quot;Files&quot; -&gt; &quot;Attachments&quot; -&gt; &quot;General&quot; and unset &quot;Show attachments in the files tab by default&quot;
    
4.  Go to the project again and see the project setting
    

### What is the buggy behavior?

*   The setting in the project is now unset
    
    *   This is surprising since the caption in the administration only speaks of new projects being affected
        
*   The same does not happen if the project setting was ever toggled. But for the user there is no way to distinguish if the project setting was ever toggled so that it will remain stable or if was never toggled.
    

### What is the expected behavior?

1.  Have the administration setting not affect existing projects
    

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/917793/content"> <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/917794/content">
