wordpress-mobile / wordpress-mobile/WordPress-iOS

Media deleted from the Media view remains in the editor

Open
#23,166 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug Media Posting/Editing
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

Expected behavior
  • The Media view, editor, and progress indicator should all be in sync.
Actual behavior
  • Media deleted from the Media view remains in the editor.
  • If the media is deleted during upload, the upload progress indicator is perpetually shown in the Posts view.

https://github.com/wordpress-mobile/WordPress-iOS/assets/2092798/1b5e182a-88eb-4d05-9b42-37cf743658cb

Steps to reproduce the behavior
  1. Create a new post
  2. Upload a new image using the Image block
  3. Delete the new image from the Media view
  4. Go back to the post containing the (now deleted) media
Tested on iPhone 15 Pro, iOS 17, Jetpack iOS / WordPress iOS 24.8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing the issue on iOS using the listed steps, then trace how the Media view, editor, and Posts upload-progress indicator handle deletion during upload. Done means deleted media no longer remains in the editor and the progress indicator does not remain perpetually visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.