Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The username was not found on drupal.org. #346

Open
gauravaxl opened this issue Jan 9, 2024 · 6 comments
Open

The username was not found on drupal.org. #346

gauravaxl opened this issue Jan 9, 2024 · 6 comments

Comments

@gauravaxl
Copy link
Contributor

For some of the existing users, it is showing The username was not found on drupal.org.
Example: https://www.drupal.org/u/anjali-rathod

@rishabjasrotia
Copy link
Contributor

Hello @gauravaxl,
I think probably not an issue from contrib application.

We are not able to get result from API calls i.e. https://www.drupal.org/api-d7/user.json?name=anjali-rathod

Drupal API for user info works well while using the below URL
https://www.drupal.org/api-d7/user.json?name=Anjali%20Rathod

name=Anjali Rathod

Suggestion:
We can add note message that user with hyphen username should use first case with hyphen replaced by spaces.
OR
In code itself check for such cases and return user with suggestion to use such pattern.

cc @hussainweb

@hussainweb
Copy link
Member

Thanks, @rishabjasrotia. I can't find where we (@gauravaxl, @axelabhay, and myself) discussed this--maybe over Slack. Anyway, there is formal discussion here: https://www.drupal.org/project/do_username/issues/3394442.

Can you reflect on the comments there and share your thoughts there?

@hussainweb
Copy link
Member

I'll leave this issue open until the "fix" is available in that module and merged here.

@SohamAxel
Copy link

Hi, I was able to go past this error by adding my Drupal.org username (Soham Sengupta), however the link in the profile view page is formatted incorrectly and takes the user to a wrong page.
The wrong formatted link - https://www.drupal.org/u/Soham%20Sengupta
The actual Drupal profile link - https://www.drupal.org/u/soham-sengupta

@hussainweb
Copy link
Member

Thanks, @SohamAxel! This is a slightly different issue (but related). Can you create a new issue in the issue queue? Here's the link: https://www.drupal.org/project/issues/do_username?categories=All.

@SohamAxel
Copy link

Yes, I have created the issue for the module. Thank you.
Link: https://www.drupal.org/project/do_username/issues/3416847

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants