Project

General

Profile

Actions

Defect #33914

closed

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

Added by Mizuki ISHIKAWA over 4 years ago. Updated over 2 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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.


Files

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

Also available in: Atom PDF