Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
"Maintainers for X" list in the sidebar on project pages currently lists git usernames, linked to D.o user profiles.
Instead it should list the actual usernames.
Example: https://drupal.org/project/magic
Sidebar says ChinggizKhan, while his d.o username is iamcarrico (https://drupal.org/u/iamcarrico).
Comments
Comment #1
dwwThat block is from versioncontrol_project, not project itself.
The block output is generated in versioncontrol_project_block_view(). A very quick skim of the code doesn't immediately reveal why we're getting Git usernames here, not the regular Drupal users. Sure looks like we're joining on {users} to get the name field and should be printing that. ;) I'm about to get on a plane and I'm not sure my local dev site will be able to reproduce this, but I wanted to move to the right queue and provide some initial pointers on what functions to debug.
Cheers,
-Derek
Comment #2
marvil07 CreditAttribution: marvil07 commentedNot sure either what happened, but code seem to be producing the right results, i.e. on git7site:
Comment #3
drummThis is caching.
DELETE FROM versioncontrol_project_maintainers_block_cache WHERE cid = 'project_maintainers:1910134';
fixed it. A Git push would have corrected it too.Comment #4
dwwGreat, thanks!