Dimillian / Dimillian/IceCubesApp

Bug: saving draft doesn’t always save photos

Open
#2,090 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
7.1k
Forks
720
PR merge metrics
No merged PRs in 30d

Description

Environment:

  • OS: iOS
  • IceCubesApp version: 1.10.40

Description

Sometimes, when saving a draft the photos are not saved with the text.

Coincidentally, opening the same draft more than once, results in the second draft being pasted into the compose screen after the first draft

To reproduce:

  1. Create a toot. Add some text. Add a photo
  2. Cancel and save to draft
  3. Create toot, pull up draft. Observe that only the text is there

Related Issues

  • Search that this bugs don't already exist before creating it.

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the draft flow described in the issue: save a toot with text and a photo, then reopen it. Trace the draft-saving and compose-loading paths to determine why photos are omitted and why reopening can duplicate text. Done means saved photos are restored and opening the same draft once does not append duplicate content.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.