# Bug OP-13290 - 500 error when creating a news title longer than 60 characters

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

## Open points

_No work packages_

## Details

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

Seen through AppSignal: https://appsignal.com/openproject-gmbh/sites/63237334d2a5e463ef717f69/exceptions/incidents/36270

### Steps to reproduce

1.  In a project, create a News with a title longer than 60 characters

### What is the buggy behavior?

*   It fails  
    <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/68845/content">
*   In the logs: `ActiveRecord::ValueTooLong (PG::StringDataRightTruncation: ERROR:  value too long for type character varying(60))`

### What is the expected behavior?

1.  It should be flawless

### Environment information

**OpenProject version**

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">13.1.0.eaf552d980</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Mon, 11 Sep 2023 08:49:11 GMT <a class="op-uc-link" href="https://github.com/opf/saas-openproject/commit/eaf552d980">eaf552d980</a></p></td></tr></tbody></table></figure>
