# Bug OP-20758 - Table view allows entering values for fields excluded from a work package type’s form

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-20758

## Open points

_No work packages_

## Details

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

<br>

1.  Login as an admin user
    
2.  Create a work package and name it e.g. &quot;task without work and remaining work&quot;
    
3.  Adjust the form configuration of your newly created work package: Remove work, remaininig work and % complete from the form
    
4.  Add this new work package type to any project in which there are other work package types present that use the above mentioned fields in their form (e.g. the default task)
    
5.  Navigate to this project
    
6.  Open the work package table
    
7.  Add a work package which has work, remaining work and % complete in its form configured
    
8.  Add the newly created work package type which does not have these fields in its form
    
9.  Edit the view: Add a column for work, remaining work and % complete
    
10.  Click into one of these fields in the row of the work package which does not have these fields in its form
     

Example:

<br>

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

Work, remaining work and % complete are not configured in the form configuration of &quot;Task ohne Aufwand&quot;.

### What is the buggy behavior?

<br>

*   It is possible to add values to fields which are not configured in the form of that work package type
    

### What is the expected behavior?

<br>

1.  Users cannot add values to a field which is not part of the form of a work package
    

### Screenshots and other files

_see above_

### Environment information

<br>

**OpenProject installation type**

*   [x] Cloud edition
*   [ ] On-Premise
*   [ ] Packaged installation
*   [ ] Docker All-in-one container
*   [ ] Docker-compose installation
*   [ ] Other (please specify)

**OpenProject version**

17.9.8

**Browser**

*   [ ] Chrome
*   [ ] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [x] Other (Vivaldi)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

*   [x] English
*   [x] German
*   [x] Other: EO
