# Bug OP-9901 - For work packages whose start/end dates are set by children, the date indicators are shown when they should not be

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2021-11-01 – 2022-02-27 |
| Priority | Medium |
| Module |  |
| Target versions | 12.1.0 |
| Observed in versions |  |
| Sprint | 12.1.0 |
| 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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### **Environment**:

OpenProject Edge  
macOS 12,1 / Firefox 97,0 / EN  
macOS 12,1 / Chrome Canary 100.0.4891.0 (Official Build) canary (arm64) / EN

### **Steps to reproduce:**

1.  Go to Team planner
2.  Create a work package (Phase)
3.  Give that work package a child work package (Task) spanning X days
4.  Navigate to the week where the two work packages (with the same start/end days because the parent work package's start/end dates are determined by the child)

### **Actual Behavior**

Currently, the card for the the parent work package:

  - Shows the start/end dates, without the arrows
  - Does not show the blocked icon on hover (as specified in <mention class="mention" data-id="40810" data-type="work_package" data-text="#40810">\#40810</mention>, which, on hover on the blocked icon would show a tooltip explaining that the card cannot be moved).

In this example, "test task 007" (task) is a child work package to parent "Weihnachtsfeier" (phase). The dates for the parent cannot be modified (because automatically derived).

<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27571/content"></div></figure>

### **Expected Behavior**

1.  For parent work packages who dates are derived by the child, the dates should not be shown unless they are "cut off" and go beyond the currently visible date range. 
2.  A blocked icon should be visible on hover, with a tooltip on hover over that icon.
