I just tried to edit a post in stackoverflow and got the following message:

There is a pending suggested edit in the queue, try again in a few minutes.

It reads:

There is a pending suggested edit in the queue, try again in a few minutes.

First of all, I understand the message. However, I don't think the way it is displayed is the most appropiate one. Actually, once I clicked on the edit link I got a webpage which ONLY content was the one I mentioned before. I mean, that was the source code of the page... there are not even HTML tags there!

There are many ways to provide this information without making the user hit the back button of the browser. I think some options that wouldn't require to reinvent the wheel are:

  • Showing a message similar like the one when you click on flag
  • Showing a message in a similar way like the one you get when clicking on link

To make it a bit clearer, this are the steps I followed and the result I got:

  1. Opened a question
  2. Clicked on edit

    Expected result: Being able to edit the post OR having a friendly message explaining why I can not edit the post

    Real result: I got redirected to the URL "https://stackoverflow.com/posts/[post_id]/edit" which only contained the text mentioned before. To put it in PHP terms, the wepage displayed the result of an echo of the message, just that. So, after seeing an almost-white page, the user has to click on the back button of the browser to go back to the question.

  • This also applies to locked posts. They only contain text – Universal Electricity Jun 27 '15 at 14:46

Usually when someone else already suggested an edit you won't have "edit" link at all.

So, sounds like one of these two cases:

  1. Rare case where you and other person (with less than 2K rep) click the edit in the exact same time, less than millisecond difference.
  2. Someone suggested an edit while you were viewing the page and before you clicked the edit button - if you would have reloaded, no edit link would appear.

If you can elaborate on your suggestions it might be good idea though. :)

  • Sure. It is not actually about when this happens but rather to display it in a better way. I'm adding some steps to the question – Mosty Mostacho Feb 4 '12 at 19:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .