Wp-calypso: Free Photo Library: does not work on AT site pages

Created on 17 May 2018  路  6Comments  路  Source: Automattic/wp-calypso

Steps to reproduce (Only On an AT Site)

  1. Starting at URL: https://wordpress.com/pages
  2. Click Add+ > From Free Photo Library > Search for and add a photo.

What I expected

For the photo to insert (it does) and then click the Update/Publish button.

What happened instead

The Photo inserts into the page, but then the page Update/Publish button becomes grey and you cannot click on it.

Browser / OS version

FireFox Quantum 60.0.1 (64-bit)
Chrome
Windows 10
MacOS (Latest)

Screenshot / Video

manual testing video

Context / Source

  1. Was able to reproduce this error on my own test site.
  2. Another HE was able to reproduce on their AT test site: p1526580314000524-slack-tickets
  3. Asked Atomic Guild for Guidance: p1526581144000281-slack-at-happiness
  4. They suggested Triage
  5. Triage Recommended report here

user-report #manual-testing

Jetpack Media [Type] Bug

Most helpful comment

Fix has been deployed, images are copying correctly to Jetpack powered sites again.

All 6 comments

This is a Jetpack integration issue. For some reason, the request we send to the external media API no longer works with Jetpack sites, the Jetpack client can't determine the file type of the image and rejects the upload request. FWIW, this worked when we first rolled out Pexels, so I'll carry on looking at this to determine what's changed and see how it can be fixed.

another report in 3699926-hc

I'm also seeing this here: 1168770-zen

Also does not work in the WordPress.com/media, after you click "copy to media library":
spinningfreeimages

3542636-hc

The problem here is that uploaded images are getting a .tmp extension, which Jetpack doesn't recognise as an image. I'm working on this today, although I'm not sure how easy a fix will be. I'll keep things updated here, it doesn't seem to be a Jetpack or Calypso issue though, but I guess this is where peeps will check for issues :)

Fix has been deployed, images are copying correctly to Jetpack powered sites again.

Was this page helpful?
0 / 5 - 0 ratings