Content
View differences
Updated by Naglis Jonaitis over 9 years ago
Hello,
since upgrading to 6.x we have noticed that the time entry list is not functioning correctly. To be more specific:
### Issue no 1
Single work package time entry list (eg. *http://example.com/projects/test/time\_entries?work\_package\_id=1*) initially loads correctly, but when doing some function in the list (eg. sorting), the time entries of some other work package are loaded. See attached video no. 1 for demonstration.
Steps to reproduce:
1. Create a work package
2. Log a time entry on the work package
3. Open work package time entries by clicking on the spent time in the work package details
4. Sort time entries on some column (for example, user)
### Issue no 2
In the main time entry list (eg. *http://example.com/time\_entries*) functions like sorting on some column or pagination are broken, because the AJAX call is done on work package time entries with `undefined` work package id, eg. *http://example.com/work\_packages/undefined/time\_entries?page=1\&sort=user:asc*. Please see attached video no. 2 for demonstration.
Steps to reproduce:
1. Log a few time entries on different work packages
2. Open the main time entries list (*/time\_entries*)
3. Sort time entries on some column (for example, user)
Not sure if this is significant, but we are using the Docker based OpenProject setup from the *openproject/community:6.0* image. The demo videos were made on a fresh local Docker container from the same image.
I have reproduced this issue in OpenProject 6.0.4 and 6.0.5 Docker based setups using Firefox 49.0.2 and Chromium 54.0.2840.71 (64-bit).
Also, not sure if this is related, but when using OpenProject I get a traceback in the *web-stdout.log* log when loading most (if not all) pages:
App 344 stdout: ActionController::RoutingError (No route matches [GET] "/assets/jquery.caret.map"):
Please find attached the complete traceback of the error.
since upgrading to 6.x we have noticed that the time entry list is not functioning correctly. To be more specific:
### Issue no 1
Single work package time entry list (eg. *http://example.com/projects/test/time\_entries?work\_package\_id=1*) initially loads correctly, but when doing some function in the list (eg. sorting), the time entries of some other work package are loaded. See attached video no. 1 for demonstration.
Steps to reproduce:
1. Create a work package
2. Log a time entry on the work package
3. Open work package time entries by clicking on the spent time in the work package details
4. Sort time entries on some column (for example, user)
### Issue no 2
In the main time entry list (eg. *http://example.com/time\_entries*) functions like sorting on some column or pagination are broken, because the AJAX call is done on work package time entries with `undefined` work package id, eg. *http://example.com/work\_packages/undefined/time\_entries?page=1\&sort=user:asc*. Please see attached video no. 2 for demonstration.
Steps to reproduce:
1. Log a few time entries on different work packages
2. Open the main time entries list (*/time\_entries*)
3. Sort time entries on some column (for example, user)
Not sure if this is significant, but we are using the Docker based OpenProject setup from the *openproject/community:6.0* image. The demo videos were made on a fresh local Docker container from the same image.
I have reproduced this issue in OpenProject 6.0.4 and 6.0.5 Docker based setups using Firefox 49.0.2 and Chromium 54.0.2840.71 (64-bit).
Also, not sure if this is related, but when using OpenProject I get a traceback in the *web-stdout.log* log when loading most (if not all) pages:
App 344 stdout: ActionController::RoutingError (No route matches [GET] "/assets/jquery.caret.map"):
Please find attached the complete traceback of the error.