When I try to delete a topic which has already been answered, I get an error.
I create a new topic.
I reply to this topic.
I try to delete this topic.
I get An error occurred: There was an error deleting that topic. Please contact the site's administrator..
How is it handled?
I see that sometimes the delete button is hidden, whereas the edit button is available, and sometimes the delete button is available and tells me that I’m not allowed to delete the topic.
I know that the delete button is visible even if the topic has a reply, so you aren’t allowed to delete the topic. The text on hover also reflects that. Example from the last topic I created at Meta:
But I don’t remember noticing a topic where the edit button was visible but the delete button was not.
I also don’t know whether the topic has to have already been answered or not for this to happen.
And I can’t test it yet: An error occurred: We appreciate your enthusiasm! That said, for the safety of our community, you’ve reached the maximum number of topics a new user can create on their first day. Please wait 20 hours and you’ll be able to create more new topics.
By default, users can’t edit or delete their posts after 24 hours (30 days for trust level 2 users), which might explain why you can’t delete some of your posts.
Links to try.discourse.org quickly expire, as the instance is reset each day.