# Bug OP-19819 - A `CASE` without default value causes an error on project and projects pages

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2026-07-16 –  |
| Priority | High |
| Module |  |
| Target versions | 17.7.0 |
| Observed in versions |  |
| 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 | Ivan Kuchin |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Create a calculated value project attribute with formula `CASE 0 WHEN 1 THEN 2 END` for all projects
    
2.  Open project home of any project
    
3.  Open projects table and add column for that calculated value
    

### What is the buggy behaviour?

*   Page is blank with error at the top `[Error 404] The page you were trying to access doesn't exist or has been removed.`
    

### What is the expected behaviour?

1.  Page is not blank, no error at the top
    
2.  Value is absent and it is shown that calculation failed
