Defect #33914

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

Added by Mizuki ISHIKAWA 8 months ago. Updated 5 months ago.

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

0%

Category:Time tracking
Target version:-
Resolution: 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.

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

History

#1 Updated by Mizuki ISHIKAWA 8 months ago

I attach the patch.

#3 Updated by Go MAEDA 5 months ago

  • Status changed from New to Confirmed

Also available in: Atom PDF