# Bug SPPM-203 - Incorrect rescheduling after non working days are changed

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

## 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
    
    1.  phase A with a finish date
        
    2.  phase B with a start date
        
    3.  phase C with a complete date
        
2.  Create a new non working day in the settings (admin/settings/working\_days\_and\_hours)
    
3.  Observe the new dates assigned to the list of phases.
    

### What is the buggy behavior?

*   phase A gets rescheduled starting from the phase C start date and the rest of the phases follow.
    

### What is the expected behavior?

1.  Only reschedule the phases starting from the first complete phase. Do not reschedule the incomplete phases that are positioned before the first complete phase.
    
2.  As a tradeoff, we will not reschedule any incomplete phases before the first complete phase, even if the added non working day falls on those incomplete phases before the complete one.
    

### Screenshots

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