Closed (fixed)
Project:
Project issue tracking
Version:
7.x-2.x-dev
Component:
Issues
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2013 at 16:27 UTC
Updated:
25 Dec 2013 at 01:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dwwIt should be the case that when an issue is assigned to you, you automatically start following it. "My issues" always means "Issues I'm following". So, if this is broken, it's broken. AFAIK, the behavior shouldn't have changed.
Comment #2
drummThat's all true, except we don't have auto-following when someone else assigns you to an issue.
Comment #3
dwwWe used to. If that's no longer happening, it's a D7 regression.
D6 includes/comment.inc:
I think we failed to port that or leave a TODO about it during the flag_tracker stuff from #1560010: [META] Port issue following functionality to D7
Not sure if the fix is a special-case in project_issue or something we should handle in flag_tracker. Seems better to teach project_issue about flag_tracker than the other way around, so leaving it in this queue.
Comment #4
sanchiz commentedInitial patch.
Comment #5
sanchiz commentedFixed assigning on update and insert.
Comment #6
drummLooks okay. The duplicated code isn't ideal, we might want to pull this out into a new function, but I don't think that's necessary. Leaving for dww to review.
Comment #7
dwwThanks! Tested and working nicely. Committed and pushed:
http://drupalcode.org/project/project_issue.git/commit/9870360
Did a minor code-cleanup and simplification:
http://drupalcode.org/project/project_issue.git/commit/66bafcc
Realized I pushed with a syntax error. Tee hee:
http://drupalcode.org/project/project_issue.git/commit/e9a1542
Tested again on my dev site and all is well, so I deployed live.
Thanks again!
-Derek