# Bug OP-8897 - Poor performance of work package table for work package with larger attachments

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.0.0 |
| Observed in versions |  |
| Sprint | 12.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.  Have work packages with attachments that are big and are full text indexed (e.g. lengthy word documents) 
2.  Go to the work package list and ensure that the work packages are included in the list

### **Actual Behavior**

The work package list loads successfully. However it takes longer than necessary to do so. The reason for this is that the content of the attachments is fetched from the database and instantiated in ruby. The content is not displayed anywhere 

### **Expected Behavior**

Load the list just as before but be quicker. The attachment content should not be loaded.
