wordpress-mobile / wordpress-mobile/WordPress-Android

Bug: Restoring a trashed post still contains “__trashed” in the slug field

Open
#12,359 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Post Settings
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

The slug should be changed to the empty string when it is trashed as empty and restored.

Actual behavior

Slug text remains “__trashed” after restoring.

Steps to reproduce the behavior
  1. Create a new post
  2. Trash post
  3. Restore post
  4. Check for the slug
Tested on [device], Android [version], WPAndroid [version]

PIXEL 2 API 30 Emulator, WordPress 15

Same as wordpress-mobile/WordPress-iOS#14423

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

Reproduce the issue in the WordPress Android app using the listed steps: create a post, trash it, restore it, and inspect its slug. Trace the post trash and restore flow, then verify that a slug trashed as empty is restored as an empty string rather than “__trashed”.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.