wordpress-mobile / wordpress-mobile/WordPress-Android
Bug: Restoring a trashed post still contains “__trashed” in the slug field
Open
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
- Create a new post
- Trash post
- Restore post
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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