Closed (fixed)
Project:
Drupal.org username field
Version:
2.0.0-beta4
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2024 at 16:30 UTC
Updated:
13 Feb 2025 at 17:31 UTC
Jump to comment: Most recent
Comments
Comment #2
nicxvan commentedComment #3
nicxvan commentedhttps://www.drupal.org/u/mohammed-j-razem Also has this issue.
Comment #5
hussainwebThank you for the MR. Can you take a look at #3394442: Decide if we should accept actual username or URL slugs and let me know your thoughts? We can fix it properly that way.
Comment #6
nicxvan commentedCommented!
Comment #8
hussainweb@nicxvan, I have adapted your fix into a different MR. Can you take a look and review? Thanks!
I tested this locally with your example and it works properly.
Comment #10
hussainwebI just found #3416847: Drupal.org profile link in display page is formatted incorrectly which is the same issue as this. I am brining in the test from that issue and crediting the author.
Comment #11
hussainwebI pushed a change to the test removing some of the use cases. The usernames being tested are actual users. In this case, that user is not confirmed and the URL returned by the API is different than what we would expect (it is of the format /user/uid). We can test this as well but this test might break in the future when this user gets confirmed. So, let's remove it instead.
Comment #12
nicxvan commentedI can try to test this on Friday
Comment #15
hussainwebComment #16
hussainwebComment #19
nicxvan commented