Cannot delete own post anymore

While trying to delete one of my own posts here on Meta, this exception was thrown after clicking the trashcan button (and nothing else happened):

Looks like a #bug for @sam?

Here’s the error as plain textm, for search: Could not find module pretty-text/engines/discourse-markdown/helpers

4 Likes

Looks like a bug, what is the exact repro?

I did nothing but click on the trash can – so it should be:

  • be a non-staff user
  • navigate to an own post
  • click the trash can
2 Likes

Fixed per:

https://github.com/discourse/discourse/commit/ae68795d8206a6a796d7d65e63bd2af3509be704

This is a result of defer loading the markdown engine. In the past we always had the engine around, now we must ensure it is loaded before cooking stuff :man_cook:t4:

5 Likes

This topic was automatically closed after 7 hours. New replies are no longer allowed.