Content
View differences
Updated by Cécile Guiot 10 days ago
### Steps to reproduce
1. Login as an admin
2. Go to Administration > Times and Costs > Time
3. Under 'Maximum number of hours per day' set the limit to 2
4. Go to any WP or to a user time logging page
5. Log 4 hours
### What is the buggy behaviour?
* Page reloads without feedback
* No error shown
### What is the expected behaviour?
1. User is informed they can't log more than X hours
###
### Notes
it also prevents users to stop a running timer, see below
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/923760/content">
###
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/923751/content">
### Environment information
**OpenProject version**
Core build
[10671acce472241e42c8e5f119a3b219d11afdc3](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2F10671acce472241e42c8e5f119a3b219d11afdc3)
Product version
[6d60c37ddfd3844f3e532988d7810ad82ce289ac](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2F6d60c37ddfd3844f3e532988d7810ad82ce289ac)
Core version
OpenProject 17.8.0
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [x] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
1. Login as an admin
2. Go to Administration > Times and Costs > Time
3. Under 'Maximum number of hours per day' set the limit to 2
4. Go to any WP or to a user time logging page
5. Log 4 hours
### What is the buggy behaviour?
* Page reloads without feedback
* No error shown
### What is the expected behaviour?
1. User is informed they can't log more than X hours
###
### Notes
it also prevents users to stop a running timer, see below
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/923760/content">
###
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/923751/content">
### Environment information
**OpenProject version**
Core build
[10671acce472241e42c8e5f119a3b219d11afdc3](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2F10671acce472241e42c8e5f119a3b219d11afdc3)
Product version
[6d60c37ddfd3844f3e532988d7810ad82ce289ac](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2F6d60c37ddfd3844f3e532988d7810ad82ce289ac)
Core version
OpenProject 17.8.0
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [x] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)