# Bug COSTS-172 - No hint when using a user in a budget and no rate is set up

Project: Stream Time & Costs
Status: closed
URL: https://community.openproject.org/work_packages/COSTS-172

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Costs and budgets |
| Target versions | 18.0.0 |
| Observed in versions | 17.8.0 |
| Bug found in version (deprecated) | 17.8.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Klaus Zanders |
| 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 user that has an hourly rate (either a default rate or for the specific project) with a specific `Valid From` date. Note down that date
    
2.  Go to a project, enable the budgets module
    
3.  Create a budget
    
4.  Set the `Fixed date` field of the budget to a date **before** the `valid from` of the user&#x27;s hourly rate
    
5.  Add the user as a labor cost item with any amount of hours.
    

### What is the buggy behavior?

*   As the user has no valid hourly rate for the given date (as the `fixed date` is before the `valid from`), we silently set the rate to `0€`.
    

### What is the expected behavior?

1.  We show some sort of hint that there is no hourly rate available for the user for the given date
