Defect #33914

Even if the default value of Activities (time tracking) is set, it may not be reflected.

Added by Mizuki ISHIKAWA over 1 year ago. Updated over 1 year ago.

Status:ConfirmedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Time tracking
Target version:-
Resolution: Affected version:


How to reproduce the problem:
1. bundle exec rake db:fixtures:load
2. Open /projects/ecookbook/time_entries/new and you can see that "Development" is the default Activity choice.
3. Go to /projects/ecookbook/settings/activities and click Save button. At this time TimeEntryActivity.count changes from 4 to 8.
4. When you open /projects/ecookbook/time_entries/new, the default Activity choice is "--- Please select ---".

If you click the Save button in /projects/ecookbook/settings/activities, project-specific activity data will be created based on the original activity data.
If the underlying activity data is the default, then the project-specific activity data based on it should also be the default.

fix-33914.patch Magnifier (3.17 KB) Mizuki ISHIKAWA, 2020-08-27 10:19


#1 Updated by Mizuki ISHIKAWA over 1 year ago

I attach the patch.

#3 Updated by Go MAEDA over 1 year ago

  • Status changed from New to Confirmed

Also available in: Atom PDF