# Bug OP-2865 - After start date update due date is not properly updated

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-2865

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions |  |
| 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 | Niels Lindenthal |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

I was happy to notice that the due date is now moved, if the start date is later than the due date. Though one bug and one recommendation remain:

  - After start date update, the due date is moved, but the pop-up calendar still shows the old date.
  - The work package duration should be kept the same. I.e. the due date should always be moved to X days after the start date, whereas X is the work package duration before the start date was updated (0 days, in case the WP is newly created).

Running the hosted version of OP (v5.0.18).
