codewars / codewars.com

Issue tracker for Codewars
https://www.codewars.com
BSD 2-Clause "Simplified" License
2.08k stars 219 forks source link

Rejecting a translation forked from my translation shows misleading error message #2753

Open suic86 opened 1 year ago

suic86 commented 1 year ago

Describe the bug I've tried to reject a fork of my translation (see here) but I'm getting getting the following message: "Failed to approve or reject: Cannot approve/reject own translation."

To Reproduce Go to fork of your translation created by someone else and try to reject it.

Expected behavior One of these:

  1. I should be able to reject/approve the fork
  2. or the message should say something else (e.g. you're not allowed to approve/reject forks of your translation)

Screenshots Screenshot 2022-07-25 at 21 05 41

Browser

┆Issue is synchronized with this Clickup by Unito

Blind4Basics commented 1 year ago

It's a fork of your translation, but you're neither the author of the kata, nor a mod/mender. So you're subject to the 7 days delay (because the kata author is active).

I see why one could considere you should be able to reject that fork, but according to the current rules, there is no bug per se. @kazk => ?

kazk commented 1 year ago

Yeah, this is not a bug.

suic86 commented 1 year ago

It's ok, that I'm not able to approve/reject, but that message is still misleading. I wasn't trying to approve my own translation 🤔 See the red bar at the bottom.