Defect #23922

Time Entries context menu/bulk edit shows activities not available for the time entry's project

Added by Felix Schäfer about 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Time tracking
Target version:3.3.2
Resolution:Fixed Affected version:

Description

It is possible to deselect time entry activities on a project level, this is not taken into account in the time entries context menu.

A user is able to set the activity of a time entry to an activity that has been disabled for the project/issue's project of that time entry.

23922-activities_time_entries_context_menu.patch Magnifier (1.06 KB) Felix Schäfer, 2016-09-25 09:46

Associated revisions

Revision 15952
Added by Jean-Philippe Lang about 1 year ago

Time Entries context menu shows activities not available for the time entry's project (#23922).

Patch by Felix Schäfer.

Revision 15953
Added by Jean-Philippe Lang about 1 year ago

Bulk edit for shows activities not available for the time entry's project (#23922).

History

#1 Updated by Felix Schäfer about 1 year ago

The attached patch limits the activities in the time entry context menu to those available to all selected time entries.

#2 Updated by Felix Schäfer about 1 year ago

The same problem exists in the bulk edit of time entries source:/trunk/app/controllers/timelog_controller.rb@15842#L170

#3 Updated by Toshi MARUYAMA about 1 year ago

  • Category set to Time tracking
  • Target version set to 3.3.2

#4 Updated by Jean-Philippe Lang about 1 year ago

  • Subject changed from Time Entries context menu shows activities not available for the time entry's project to Time Entries context menu/bulk edit shows activities not available for the time entry's project
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Patch applied, thanks. Bulk edit also fixed.

#5 Updated by Felix Schäfer about 1 year ago

Thanks!

#6 Updated by Jean-Philippe Lang about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF