Automattic / Automattic/jetpack

Simple Payments block: unable to save post/page if block featured image is removed

Open
#12,773 2 comments 0 reactions 0 assignees View on GitHub
[Block] Pay With Paypal [Feature] Pay with PayPal [Focus] Blocks [Pri] Normal Bug Customer Report [LEGACY]
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. Create a Simple Payments block.
2. Add an image to the block
3. Publish
4. Remove image from block
5. Publish

#### What I expected
The changes would be saved.

#### What happened instead
Despite stating that the page/post saved successfully, the image is not removed (and any other changes made on the page are lost as well).

Reported here: 12987275-hc

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the report. Reproduce the Simple Payments block flow by adding, publishing, removing the featured image, and publishing again; done means the removal and any other edits persist after reload.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, react, wordpress
Domain
frontend, payments
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.