Some official discourse plugins break after last update

AI-generated summary

In a discussion regarding bugs introduced by recent Discourse updates, mr8 reported that the discourse-bbcode-color plugin was causing a TypeError and breaking the /admin/backups page. They also noted that the discourse-data-explorer plugin was breaking /admin/plugins. techAPJ confirmed the issue with the color plugin and provided a fix via a specific commit. While techAPJ could not reproduce the backup or data explorer issues on their end, mr8 confirmed that the latest updates resolved all reported problems.

Not sure what has changed, but it seems that the latest updates have broken some things:

###The discourse-bbcode-color plugin.
I believe I’ve narrowed it down to the discourse-bbcode-color plugin spitting this error out:

TypeError: undefined is not an object (evaluating 'Discourse.Dialect.addPreProcessor')

###/admin/backups is broken and gives:

Error: Something you did caused a view to re-render after it rendered but before it was inserted into the DOM

EDIT: this error seems to go away if I disable the discourse-bbcode-color plugin.


###discourse-data-explorer plugin breaks /admin/plugins.
I believe this error is related to the discourse-data-explorer plugin:

Error: There is no route named adminPlugins.explorer
3 Me gusta

Hmm can we check these @techAPJ?

1 me gusta

Fixed via:

https://github.com/discourse/discourse-bbcode-color/commit/66f1e4a1159cf58a99c31a8f082f27348f09ed1f

Not able to repro above two issues with latest version of Discourse and discourse-data-explorer plugin installed.

5 Me gusta

Thanks for the quick fix!

I believe the last update discourse-data-explorer plugin fixed all the other bugs!

3 Me gusta