Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23995 closed defect (bug) (worksforme)

Weird Error After Post Published Successfully

Reported by: miqrogroove's profile miqrogroove Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: General Keywords:
Focuses: Cc:

Description

I didn't get the exact message, but I was stuck on the New Post screen after clicking Publish with something to the effect of: The server connection has been lost. This message will go away once you get reconnected.

I ended up clicking on Visit Site and I could see that the post was already published.

My server has been acting up a bit today, so I figured this is a good time to test out the new post saving logic. I'm not sure if this was the intended experience though?

Tested on 3.6-beta1. Only happened once so far.

Change History (4)

#1 @miqrogroove
11 years ago

It just screwed up again. This time, I was on the Text tab, editing a post that was already published. I clicked the Update button and nothing happened for a long time and there was no error message displayed. I left the editing screen and when I came back, it showed me the unedited post again and told me there was an autosave newer than the current version.

I could not find any option for restoring the autosave. I could view it by clicking on it, but since I had already made a copy from the Text tab, I decided it was easier just to paste it back in and re-try the Update button, which worked on the next try.

#2 @azaozz
11 years ago

The message "The server connection has been lost. This message will go away..." is part of the newly added disabling of the Save and Publish buttons when no connection (as reported by heartbeat), see [23886]. This would usually show on XHR timeout (30 sec) and will disappear when an XHR goes through.

Not sure what exactly happened in the second case: if the form was submitted, you should have seen the updated post, if it wasn't submitted (browser timeout?) you should have seen the browser's error screen (server unreachable, etc.).

#3 @miqrogroove
11 years ago

In the second case, I remember there was a spinny icon next to the Update button. The button remained disabled and that was all I got that time.

Not sure if there are any bugs here. Feel free to close out the ticket if it's behaving as expected.

#4 @nacin
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

I think this has been significantly improved in more recent changes.

Note: See TracTickets for help on using tickets.