Cannot delete banner post

AI-generated summary

User Ricardo_Viteri encountered an issue where a banner post remains visible to both public and logged-in users after removing it. AmiAthena advised checking if the post was unpinned before deletion, and Ricardo_Viteri confirmed this step was taken.

AmiAthena suggested a caching issue might be the cause and recommended waiting before deleting the post. Ricardo_Viteri questioned the delay, but Mittineague clarified that Discourse is built with Ruby and Ember, not Java.

sam made an unrelated comment, while Ricardo_Viteri acknowledged the mistake. AmiAthena requested a screenshot of the wrench options, and Ricardo_Viteri confirmed a notification appeared when unpinned.

sam suggested a workaround, but eviltrout pointed out that deleting a banner should stop it from showing. codinghorror asked for verification, and techAPJ confirmed that deleting a bannered topic removes the banner, suggesting a possible caching issue. techAPJ also recommended refreshing the page.

jessicah reported a similar issue on a different version and found a workaround. sam emphasized the need for an exact repro to fix the issue, possibly related to migration.

After removing the banner it still shows to both public and logged in users.

Please advise

Did you make it not a banner anymore (un-pin topic) before you deleted it?

I did change it to not a banner

How long did you wait between un-pinning the topic and deleting it? Perhaps there was a caching issue and the un-pinning can’t properly take effect because the topic doesn’t exist, so it can’t perform actions on it?

I don’t understand why this would not work immediately. Isn’t Discourse java based?

Errrmm. No, It’s Ruby and Ember

I do not understand why this car is not fast, isn’t it green?

My bad.

How long should I wait?

After you un-pinned it, did a new post appear in it that said it was no longer a banner?

Yes, that is correct.

Can you provide a screenshot of the wrench options on the topic?

try:

  • undelete
  • unbanner
  • delete

If this works it’s a bug. Deleting a banner should stop it from showing up.

@techapj can you verify this case? What happens when you delete a bannered post?

I just tested this case. Deleting a bannered topic removes banner.

Did you try refreshing the page?

I’ve just run into this exact issue, running v2.1.0.beta2 +289. Not sure if my case is related to server migration or not.

My only workaround was to create a new banner topic, unpin topic, then finally delete it.

We need an exact repro here to fix it, @techAPJ tried and had no luck. Possibly related to migration.