Make WordPress Core

Opened 6 weeks ago

Last modified 4 weeks ago

#61169 new defect (bug)

Getting inconsistent error on changing role

Reported by: haritpanchal's profile haritpanchal Owned by:
Milestone: Awaiting Review Priority: low
Severity: minor Version:
Component: Users Keywords: reporter-feedback
Focuses: administration Cc:

Description

I am logged in as administrator user and I am selecting multiple users and attempting to change role to empty value. I am getting inconsistent error Sorry, you are not allowed to give users that role.

I think there shouldn't be any error and even if there is an error message it should say something else.

Attaching the video url of the issue:
https://www.awesomescreenshot.com/video/27461014?key=1bb55333561ac1aa16715e03ab9df15b

Change History (5)

This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.


4 weeks ago

#2 @johnbillion
4 weeks ago

  • Focuses performance sustainability removed
  • Keywords reporter-feedback added

Thanks for the report @haritpanchal .

  1. In your video it looks like you are not selecting a role in the dropdown menu. Is that a problem with the video recording, or are you not choosing a role?
  2. Can you test this with all your plugins deactivated and one of the default themes in use?

#3 @haritpanchal
4 weeks ago

Hi, I am not selecting any role. I am selecting empty value and it gives this error.

and yes, I have tested this with plugins deactivated and have used the default themes.

#4 @johnbillion
4 weeks ago

  • Priority changed from normal to low
  • Severity changed from normal to minor

Thanks. What error would you expect to see when you choose no role?

#5 @haritpanchal
4 weeks ago

What I think there should not be any error in this scenario. Either the button shouldn't be called or we just reload the page something like that or some better suggestion.

Note: See TracTickets for help on using tickets.