Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Pay with PayPal Reusable Block: Can't edit the reusable block inside page or post #44078

Open ash1eygrace opened 4 years ago

ash1eygrace commented 4 years ago

Steps to reproduce

  1. Starting at https://yoursitename.wpcomstaging.com/wp-admin/edit.php?post_type=wp_block
  2. Click to Add New, create, and save a reusable Pay with PayPal Block
  3. Add the Reusable Pay with PayPal Block to a page or post
  4. Click to select the Pay with PayPal Block and click Edit
  5. Make changes to the block's title, description, amount, and click Save.

What I expected

I expect the edits I made to be saved and update the reusable Block since I was able to edit the fields.

What happened instead

The block looks like it saves but the changes don't stick.

Browser / OS version

Tested on Chrome 83 on macOS (Catalina)

Context / Source

user-report zd-3133249

jerrysarcastic commented 4 years ago

Adding here that I had this come up for a user in 21880742-hc where they were having the same issue, but it was not a reusable block, but a copy of an existing block instead.

Steps to replicate:

Screencast: https://d.pr/v/HXgbrp

As described above, it is possible to edit the second copy, but upon saving changes those edits are lost, as if the two blocks are somehow in sync with one another.

jerrysarcastic commented 4 years ago

Confirming here the original Pay with PayPal block, and the copy made of it, seem to be linked. If you edit the original block the second copy mirrors those edits. There is no difference between the blocks as expected

Screencast: https://d.pr/v/xm6Jav

davoraltman commented 4 years ago

Have a similar issue in 3261612-zen. If you duplicate the Pay with PayPal block, the changes you make to any of those blocks don't stick at all.

Screencast: https://d.pr/i/y79l5a/s8k2tKIAX6

galakhyati commented 3 years ago

I have another instance of duplicate/copy of the Pay with PayPal block where the changes made to the copied block will make changes to the original block.

Ticket: 3575026-zen

Screencast of my test site: https://d.pr/v/SYrqO8/SFxbVzVsbj

AtrumGeost commented 3 years ago

We got a report from an HC here pbEMJv-u8-p2 (includes steps to reproduce and a gif)

lakellie commented 3 years ago

The issues reported here that are not related to a reusable block should be reported here instead: https://github.com/Automattic/jetpack/issues/12801