# Bug SPPM-183 - Disabling an incomplete phase leads to inconsistencies

Project: Stream Project Portfolio Management
Status: closed
URL: https://community.openproject.org/work_packages/SPPM-183

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 16.1.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Attila Dombi |
| 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 3 phases (A,B,C) enabled in a project, all with dates selected.

2.  Clear the dates on Phase B.

3.  Disable Phase B.

4.  Observe Phase C dates, they do not follow Phase A's dates.

### What is the buggy behavior?

  - Phase C is not rescheduled to follow Phase A.

  - Phase C will show an inconsistent date selection, where the user can select dates before the start date of Phase C.

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  During the phase deactivation, reschedule the following phases regardless if the deactivated phase has dates set.

### Screenshots and other files

**Deactivation of a phase without dates set (Not OK):**

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/624194/content">

**Deactivation of a phase with dates set (OK):**

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/624195/content">
