Wp-calypso: Posts: Copy a Post and Copy a Page posts and pages cannot be saved or published

Created on 8 Dec 2017  ยท  15Comments  ยท  Source: Automattic/wp-calypso

Steps to reproduce

  1. Starting at URL: Any WordPress.com website
  2. Create a draft post.
  3. Copy the draft post to create a new one.
  4. Edit it and try to save.

What I expected

I expected the copied post to save as another draft.

What happened instead

The post returned an error that said, "Saving of draft failed."

Browser / OS version

Chrome

Screenshot / Video

cannot-save-draft

Context / Source

I found this bug during Support Rotation. A ticket came up about it.

manual-testing, #user-report

Editor [Pri] High [Type] Bug

Most helpful comment

@jblz Very related but not exactly the problem. :)

All 15 comments

I was about to create this same issue. Neither a copied page nor a post can't be saved or published. I ran a test on my end and the result is the same as above. It was also reported by a user on this ticket 836996-zen

Just got another report of this from a user. Confirmed on my end. Using the copy button on a post is showing the 'Saving of draft failed' and 'Publishing of draft failed' errors. 837617-zen

Another user reported this issue. I was able to reproduce on my test blog. 838111-zen

Another user report: 837351-zen

Another user reported in HC tonight. Follow up ticket here: 839516-zen

A bit of extra information when helping trouble shoot a report of this issue. When trying to save the draft it is making a call to https://public-api.wordpress.com/rest/v1.2/sites/undefined/posts/new where undefined should be the site id or domain.

Another user report: 839922-zen

Another user reported the error here 491650-c

This was reported in HC again earlier today. Following up in 840043-z.

User reported this here: 1263583-c. Following up in 840183-z.
I also duplicated this issue on my test site.

+1 user reported that issue: 840262-zen

Another user reported this issue here: 1264678-hc
I'm following up here: 840330-zen

Tested and confirmed using the steps provided. I tried several routes to for both the Copy a Post and Copy a Page features (i.e. from the Published Posts list, from Drafts, from a new post, etc.), and I was unable to save or publish any post or page that has been copied first. I did not see any JavaScript errors in the browser console while testing. I tested with Firefox 57.0.1 on Mac OS X 10.13.1 on a WordPress.com Simple blog logged in as a regular user.

Video: 2m50s

@jblz Very related but not exactly the problem. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AMcGrady picture AMcGrady  ยท  62Comments

pauljacobson picture pauljacobson  ยท  60Comments

zdenys picture zdenys  ยท  40Comments

cpapazoglou picture cpapazoglou  ยท  64Comments

gwwar picture gwwar  ยท  40Comments