Project

General

Profile

Actions

Defect #15623

closed

Timelog filtering by activity field does not handle project activity overrides

Added by VD DV about 11 years ago. Updated about 11 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

While filtering timelogs on all projects, it seems that filtering does not work as expected.
In provided screenshot you can see that filtering on Activity field by excluding values, generates result that also includes excluded values. Also you can see multiple occurance in result list for activity named "Softver: PING - ELBA".
Please note that in screenshot "Activity" field is labeled as "Activity on" (it is our localization implemented through apps\redmine\htdocs\config\locales files).

Environment is:
Redmine version 2.4.1.stable
Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]
Rails version 3.2.16
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.4
Git 1.8.3
Filesystem
Redmine plugins:
no plugin installed


Files

Activity filtering.jpg (80.8 KB) Activity filtering.jpg VD DV, 2013-12-08 12:44
enumerations.txt (7.74 KB) enumerations.txt Content of enumerations table where type='TimeEntryActivity' VD DV, 2013-12-10 16:31
Actions #1

Updated by Toshi MARUYAMA about 11 years ago

  • Category changed from Activity view to Time tracking
Actions #2

Updated by VD DV about 11 years ago

It might be helpful for developers to know what is content of enumerations table.

Result of following query is attached as enumerations.txt:

select * from enumerations where type='TimeEntryActivity';

Actions #3

Updated by Jean-Philippe Lang about 11 years ago

  • Subject changed from Tmelog filtering by activity field is broken to Timelog filtering by activity field is broken
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.4.2
  • Resolution set to Fixed

Fixed in r12414, filter was not handling activity overrides at project level.
Thanks for pointing this out.

Actions #4

Updated by Jean-Philippe Lang about 11 years ago

  • Subject changed from Timelog filtering by activity field is broken to Timelog filtering by activity field does not handle project activity overrides
Actions #5

Updated by Jean-Philippe Lang about 11 years ago

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: Atom PDF