Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple Payments : Duplicate function in Gutenberg doesn't allow for editing of duplicate #12420

Closed
jjchrisdiehl opened this issue May 13, 2019 · 3 comments
Labels
[Block] Pay With Paypal aka Simple Payments [Closed] Duplicate Duplicate of an existing issue. [Feature] Pay with PayPal aka Simple Payments [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack [Type] Bug When a feature is broken and / or not performing as intended

Comments

@jjchrisdiehl
Copy link

Steps to reproduce

  1. Create a Simple Payment block, add content
  2. Click Simple Payment Block, press Ctrl + Shift + D to duplicate the block
  3. Edit new block with new information
  4. Click away from block or save page

What I expected

I expect the duplicates to be able to be editing as new Simple Payment blocks

What happened instead

Since the Simple Payment ID = 429 in the original and duplicate blocks, all of the content of any new blocks is reverted to the originals content after saving.

Browser / OS version

Chrome, Windows 10

Screenshot / Video

In code view, but simply follow the steps above to get to here, note the same Simple Payment IDs but different content entered into the second block

https://cloudup.com/c-V_5E71b13

When saved, the separate content and erased and replaced with the original in the second block

https://cloudup.com/ck8coWVaO2X

Possible Fix

Perhaps increment the Simple Payment ID of any new duplicates so that they can be saved separately

@simison simison transferred this issue from Automattic/wp-calypso May 20, 2019
@simison simison added [Type] Bug When a feature is broken and / or not performing as intended [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack Simple Payments labels May 20, 2019
@stale
Copy link

stale bot commented Nov 16, 2019

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

@jeherve
Copy link
Member

jeherve commented Jul 20, 2020

Also in #16096

@stale stale bot removed the [Status] Stale label Jul 20, 2020
@katiebethbrown
Copy link

This seems like a duplicate of #12801

@jeherve jeherve added the [Block] Pay With Paypal aka Simple Payments label Feb 12, 2021
@jeherve jeherve closed this as completed Jan 22, 2025
@jeherve jeherve added the [Closed] Duplicate Duplicate of an existing issue. label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Pay With Paypal aka Simple Payments [Closed] Duplicate Duplicate of an existing issue. [Feature] Pay with PayPal aka Simple Payments [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

4 participants