# Bug SPAR-255 - User with a particular set of permissions sees error when updating WP dates

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-255

## Open points

_No work packages_

## Details

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

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Christophe Bliard |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

This is the exact same issue as <mention class="mention" data-id="62580" data-type="work_package" data-text="##62580">##62580</mention>, but with the date picker modal instead of the progress modal.

### Steps to reproduce

1.  Login as a user with permissions `Edit work packages` but not `Add work packages` in a project

2.  Go to any WP of the project

3.  Edit Dates

### What is the buggy behaviour?

  - User sees error

### What is the expected behaviour?

1.  User does not see an error

2.  User can save value successfully

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

[2b1fb5c992104e0d273c37dc817e45a9b99bf4dd](https://github.com/opf/openproject/commits/2b1fb5c992104e0d273c37dc817e45a9b99bf4dd)

Product version

[4b55c8485559fa6ad277e54aea2b97536297836d](https://github.com/opf/saas-openproject/commits/4b55c8485559fa6ad277e54aea2b97536297836d)

Core version

OpenProject 15.5.0

**Browser**

- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [x] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
