Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
tracker.module
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Oct 2013 at 21:22 UTC
Updated:
29 Jul 2014 at 23:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wesleydv commentedAssigning
Comment #2
wesleydv commentedThis issue is currently blocked by #1972990: Convert tracker_page() to a Controller
Comment #3
ACF commentedIn converting tracker_page to a controller in #1972990: Convert tracker_page() to a Controller the tracker tab wasn't maintained. The way that the new system works the tab can be named seperately of the page title and therefore the drupal_set_title could go. I've added in tests to check the title and tab is being set correctly.
Comment #4
dawehnerDo we really want to change the behavior from using the username to just "Track"? For me this feels wrong.
You should set #title on the resulting render array in order to keep the same functionality.
Comment #5
vijaycs85@dawehner, I guess we are just adding the tab 'Track' here. The title of the page is already handled by TrackerUserTab::getTitle(). Since we are removing drupal_set_title() here, updating the title callback to use new method $user->getUsername()instead of deprecated user_format_name().
Comment #6
dawehnerYou are so right, I could just not read the patch/test properly.
Comment #8
dipen chaudhary commentedSeems like testbot issue, unable to load image from test images. Local test runs fine.
Comment #12
Crell commentedComment #13
xjmTagging and bumping as a child of the meta.
Comment #14
vijaycs85Comment #15
vijaycs85Still the patch applies. As per #6, setting back to RTBC
Comment #16
Crell commented5: 2102487-remove-set-title-tracker-5.patch queued for re-testing.
Comment #17
webchickCommitted and pushed to 8.x. Thanks!