Project

General

Profile

Actions

Defect #33645

closed

Log time button broken for non administrator users.

Added by Tarik Hijstek over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

If we edit an issue, and use the time logging built into that form, it does work. But we cannot choose the date when those hours were spent.

The "log time" button shows the form correctly, but one save is pressed, we get an error "User is invalid". This error does not occur when logged into an administrator account.

Looking at the request parameters we can see that time_entry[user_id] is missing, compared to what gets sent if you are an administrator.

Actions #1

Updated by Go MAEDA over 4 years ago

I could not reproduce the error with a non-admin account. What I have tried is to log time by clicking on the "Log time" link in the upper right corner of the issue page, and to log time by clicking on "Edit" for issue.

Could you try again after uninstalling all plugins?

Actions #2

Updated by Tarik Hijstek over 4 years ago

It took me a while to spin up a new test server with an clean install of redmine, apologies for the long wait time.

The clean instance does not have this issue. It must be related to one of the plugins we use (wk_time & ck_editor). I will test our current version of the plugins, and the latest version

Actions #3

Updated by Tarik Hijstek over 4 years ago

Tested wk_time version 3.9.2 and 3.9.3. Both cause the issue. I am creating a issue for this plugin.

Actions #4

Updated by Go MAEDA over 4 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Thank you for your feedback. Closing.

Actions

Also available in: Atom PDF