hicknhack-software / redmine_time_tracker

A time tracker plugin for Redmine
Other
106 stars 32 forks source link

Cannot Select Activities #72

Closed spragucm closed 11 years ago

spragucm commented 11 years ago

Followed install instructions under "Install" on https://github.com/hicknhack-software/redmine_time_tracker

I have Redmine 2.3.1-3

I click on "Time Tracker" in Redmine, select a task in the "Specify your current task" field and hit "Start". Timer starts and lets me select any of the options except for "Activities". The "Activities" dropdown menu neither lets me type an activity nor does it show any activities. As a result, I cannot stop the timer.

Despite this, I can select the "Active Trackers" tab and delete the timer.

Am I missing something? How do I specify an activity? no activities

jume-dev commented 11 years ago

Seems like there are no activities set for your redmine. You can specify them in administration. Take a look here: http://www.redmine.org/projects/redmine/wiki/RedmineEnumerations

spragucm commented 11 years ago

After restarting my computer I can see some activities, but not all. The first picture below shows that my enumerations for time tracking are working when i use the redmine time entry log. The second picture shows how I can only see 4 options when using this redmine plugin. Any clue why a computer restart would now let 4 show up but not all? Also, I've restarted my servers and app many times, so that doesn't seem to be it.

activities using redmine time log

activities using timer plugin

spragucm commented 11 years ago

Hello again, I have figured out a workaround; please tell me if this is intended behavior.

First off, I have a main project called Fusion Suite. Then I have 10 or so subprojects with subs in those. See the picture below for the main project and subprojects: projects view

To see the activities show up in either the project or subproject timer task I need to turn off all activities in the main project (in this case, I went to Fusion Suite->settings->and unchecked all activities): fusion suite activities settings

If all subprojects have all of the same values checked under settings->activities(time tracking) then the activities will now show properly.

BUT, if one subproject has some activities checked while another has other ones checked, a strange slew of repeated activities is shown (first picture compares subproject settings, second picture shows result in time tracker)

settings comparison

strange slew of activities

It seems like all activities from the right hand subproject are shown along with the unselected activities from the second subproject.

Is this supposed to happen?

jume-dev commented 11 years ago

I don't think this is supposed to happen, but maybe its a bug in redmine? Can you provide the list, which redmine shows in his own timetracking for the situation from your last screenshots.

spragucm commented 11 years ago

When in the topmost project overview page, if I select log time, there are no activities even for the same issue (147 in my pictures)

When in the subproject overview page, if I select log time, the correct activities display as shown below: redmine issue list

jume-dev commented 11 years ago

So, in conclusion even redmine without this plugin struggles with your setup?

spragucm commented 11 years ago

Sure, but not as bad as the plugin seems to.

jume-dev commented 11 years ago

yeah, ok, will have a look at it

jume-dev commented 11 years ago

Should be fixed.