Defect #15623

Timelog filtering by activity field does not handle project activity overrides

Added by VD DV almost 5 years ago. Updated almost 5 years ago.

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

0%

Category:Time tracking
Target version:2.4.2
Resolution:Fixed Affected version:2.4.1

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

Activity filtering.jpg (80.8 KB) VD DV, 2013-12-08 12:44

enumerations.txt Magnifier - Content of enumerations table where type='TimeEntryActivity' (7.74 KB) VD DV, 2013-12-10 16:31

Associated revisions

Revision 12414
Added by Jean-Philippe Lang almost 5 years ago

Fixed that filtering time entries on activity does not take care of activity overrides (#15623).

History

#1 Updated by Toshi MARUYAMA almost 5 years ago

  • Category changed from Activity view to Time tracking

#2 Updated by VD DV almost 5 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';

#3 Updated by Jean-Philippe Lang almost 5 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.

#4 Updated by Jean-Philippe Lang almost 5 years ago

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

#5 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from Resolved to Closed

Merged.

Also available in: Atom PDF