Content
View differences
Updated by Oliver Günther over 3 years ago
### Steps to reproduce
1. Open date picker for a work package with dates and duration
2. Enter a negative value for duration
3. Erase the negative value and enter a valid one (2 days for instance)
### What is the buggy behavior?
* The autofill of dates / duration does not work anymore
### What is the expected behavior?
* If a negative value is entered, At step 2, I don't know
* At step 3, the absolute value is taken as finish date should be derived from start date and duration
### **Logs**
In browser, there is this error:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38693/content">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [x] Other (please specify)
* [x] [https://qa.openproject-edge.com/](https://qa.openproject-edge.com/) 12.3.0.44ceb9fbea Mon, 19 Sep 2022 14:35:06 GMT
**OpenProject version**
12.3.0.44ceb9fbea
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
1. Open date picker for a work package with dates and duration
2. Enter a negative value for duration
3. Erase the negative value and enter a valid one (2 days for instance)
### What is the buggy behavior?
* The autofill of dates / duration does not work anymore
### What is the expected behavior?
* If a negative value is entered,
* At step 3,
### **Logs**
In browser, there is this error:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38693/content">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [x] Other (please specify)
* [x] [https://qa.openproject-edge.com/](https://qa.openproject-edge.com/) 12.3.0.44ceb9fbea Mon, 19 Sep 2022 14:35:06 GMT
**OpenProject version**
12.3.0.44ceb9fbea
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)