thegazelle-ad / gazelle-server

Server for front-end and editor tools of The Gazelle
MIT License
19 stars 8 forks source link

Can't change slug of author #442

Closed emilgoldsmith closed 5 years ago

emilgoldsmith commented 6 years ago

Expected Behavior

Changing slug of author to an untaken one should work

Current Behavior

You get an error saying that slug is already taken, even in cases with slugs that are definitely not taken

Possible solution

An obvious bug could be that it's checking whether the current instead of the new slug is taken (which it obviously would be), haven't looked at the code though so don't know if it's that. Just an intuitive thought

Steps to Reproduce (for bugs)

  1. Go to any author editing page
  2. Change the slug to something obviously not taken (confirm with the popup)
  3. Observe the error that the slug is already taken