Cannot delete an empty category with identical slug name
User meke is experiencing an issue deleting an empty category with an unlocked “About” post. Despite being logged in as an admin, they receive a “You are not permitted to view the requested resource” error.
DeanMarkTaylor clarifies that the “About the {Category Name}” topic cannot be deleted, but this does not explain the issue with deleting the category itself. meke suspects a bug related to a post that was created in the category and later moved.
riking suggests checking the network inspector, which reveals a 403 Forbidden error. meke provides the request and response headers.
techAPJ discovers that the issue is caused by a sub-category with the same slug name. This issue is fixed in the latest version of Discourse, and updating should resolve the problem.
Hello, I have searched a bit and come up with a few posts, but what I am experiencing does not quite match those users reports.
So I am attempting to delete a category that has no posts except an unlocked about post. After clicking yes on the modal asking if i am sure about the deletion, I get a screen that looks like this:
The only thing I can think of effecting this may be that 1 topic was created there which was later moved. I imagine it is this topic creating the issue. Any suggestions on how to accomplish the removal of this category?
I should also mention that I was able to delete the subcategory that filled this category without an issue, as well as a different category which had never seen a post.
I am using v1.3.0.beta7 +35 and there are no log messages regarding this.
I tried flipping that to a couple values, both admin only as well as everyone. Changing the security setting had no effect on the ability to delete the post; under both everyone and admin view the delete action still results in the modal view, and the message ‘You are not permitted to view the requested resource’.
Yeah I realize I can’t delete that topic. But it seems to be a bug that I cannot delete the category. I am pretty sure it has to do with the post that was made in that category and then later moved to another that prohibits the category from being removed. Im not sure what kind of checking the platform does when it attempts to delete a category though.