Wp-calypso: After editing uploaded image and editing other image, you get JS error

Created on 15 Aug 2016  路  3Comments  路  Source: Automattic/wp-calypso

While testing #7446, I stumbled upon a JS error. Steps to repro:

  1. Go to http://calypso.localhost:3000/post and select a site;
  2. Upload new image and click Edit;
  3. Click Edit Image in the top right corner;
  4. Click Done;
  5. Select some other, already uploaded image and click Edit;
  6. Click on Edit Image again and then Done;
  7. Now, click on Edit in bottom left corner and you'll get the following error:

selection_020

Full stack trace:

selection_021

Video:

https://drive.google.com/file/d/0B8e-IpRwSdjteDk2SWdmb28yRUE/view

OS: Ubuntu
Browser: Chrome latest

The problem is that user can't do anything after the error occurs. Can't close the modal, etc. Needs full reload.

cc @gwwar @robobot3000

Media [Pri] High [Type] Bug

Most helpful comment

Nice, I think @hoverduck found repro steps in https://github.com/Automattic/wp-calypso/issues/8005

All 3 comments

@lamosty I can't reproduce it now. Can you take a look when you have the chance please?

Nice, I think @hoverduck found repro steps in https://github.com/Automattic/wp-calypso/issues/8005

This was fixed in #8261

Was this page helpful?
0 / 5 - 0 ratings