Wp-calypso: Jetpack: Disconnecting sites doesn't work

Created on 26 Feb 2018  路  2Comments  路  Source: Automattic/wp-calypso

Steps to reproduce

  1. Starting at URL: https://wordpress.com with a Jetpack site that no longer exists
  2. Click "My Sites" and use the red icon and click "Remove Site"
  3. Complete the survey
  4. Click "Disconnect"

What I expected

Until recently, a confirmation dialog success message was shown saying site was disconnected

What happened instead

Nothing, site isn't disconnected

Browser / OS version

Chrome on macOS

Screenshot / Video

disconnect site

Context / Source

#automated-testing

Jetpack [Type] Bug

Most helpful comment

Seems like this has been caused by #22362 and #22724.

@eliorivero the mapDispatchToProps args to connect are broken in both those components鈥攚atch the errors in dev mode. I'm working on a fix.

All 2 comments

I confirmed the issue and noticed the console error Uncaught TypeError: u(...).then is not a function when I hit the Disconnect button.

screenshot 2018-02-26 10 11 53

Seems like this has been caused by #22362 and #22724.

@eliorivero the mapDispatchToProps args to connect are broken in both those components鈥攚atch the errors in dev mode. I'm working on a fix.

Was this page helpful?
0 / 5 - 0 ratings