github-education-resources / classroom

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
https://classroom.github.com
1.34k stars 570 forks source link

[BUG] Cannot create/join a github classroom repository after changing account username #2554

Closed ilyas-elbani closed 4 years ago

ilyas-elbani commented 4 years ago

Describe the bug If you have changed your username in the past, you can't join a github classroom repository repo and/or create a new one

To Reproduce Steps to reproduce the behavior:

  1. change your github username
  2. join/create a new repository in a github classrom

Expected behavior User is able to create/join the new repository

Temporary solution for users facing the same problem

  1. Change your current username, to the old username
  2. Join or create the repostitory you want in github classroom
  3. Re-change your username to the one you want

Screenshots You get error : Resource could not be found on github.com image

d12 commented 4 years ago

Could you send me any user logins being affected? I'll sort it out on our end while we're working on a long term fix :)

On Sat, Feb 8, 2020, 2:29 AM Ilyas EL BANI notifications@github.com wrote:

Describe the bug If you have changed your username in the past, you can't join a github classroom repository repo and/or create a new one

To Reproduce Steps to reproduce the behavior:

  1. change your github username
  2. join/create a new repository in a github classrom

Expected behavior User is able to create/join the new repository

Screenshots [image: image] https://user-images.githubusercontent.com/50796351/74083571-00471700-4a66-11ea-913a-cb9eb88ca93c.png

Temporary Fix

  1. The user has to change his current username, to the old username
  2. The user joins or creates a repostitory in github classroom
  3. The user can then re-change his username to the one he wants

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/education/classroom/issues/2554?email_source=notifications&email_token=AHL44GCGSBFTLRSABH2M5R3RB2CPLA5CNFSM4KRZVZ42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IL7OSBA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHL44GGGUMXLFNJLNPT3FLTRB2CPLANCNFSM4KRZVZ4Q .

ilyas-elbani commented 4 years ago

We used the temporary solution I posted, so no no user is affected right now, thanks!