wordpress-mobile / wordpress-mobile/WordPress-Android

Default category can't be deleted but looks like it can

Open
#17,688 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

I'm not sure if it's expected that a category set as a default can't be deleted or if a category should always be delete-able (and then removed as the default), regardless of whether it's set as the default.

Actual behavior

It looks like you can delete the category, but it doesn't actually delete.

Steps to reproduce the behavior
  1. Add new category
  2. Set that category as the default for new posts (you may need to leave the Site Settings screen and come back for the default list to update)
  3. In category management, delete that category
  4. Note you get confirmation popup
  5. Tap Delete
  6. Note category is not deleted
Tested on [Google Pixel 7], Android [13], WPAndroid [21.4-rc-2]

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

Start by reproducing the category-management steps on WordPress for Android, including setting the category as the default and then deleting it. Trace the delete flow and default-category handling; done means the behavior follows a decided expected outcome and the reported failure is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
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.