Hi
I’m unable to customize the text for the ‘choose optional tags for this topic’. It leads me to the standard ‘page not found’ page.
Is this a bug?
Thanks
A user, tomwrench, is experiencing an issue where they are unable to customize the text for “choose optional tags for this topic” in the Discourse settings, resulting in a “page not found” error. codinghorror suggests it may be a bug and assigns it to neil to investigate.
After investigation, neil finds the issue: the correct key to edit is admin_js.tagging.choose_for_topic, not js.tagging.choose_for_topic. Additionally, the discourse_tagging plugin is no longer needed as it has been integrated into the core Discourse. The issue was also caused by incorrect string placement in the admin_js section.
Hi
I’m unable to customize the text for the ‘choose optional tags for this topic’. It leads me to the standard ‘page not found’ page.
Is this a bug?
Thanks
Possibly. @neil can have a look tomorrow.
I just tried on my localhost.
It took a while to come up (which is not all that unusual or unexpected - Windows VM)
No errors, but there was a
“WARNING importing ‘addFlagProperty’ is deprecated, use the PluginAPI instead” message.
The message didn’t come up for the few others I tried.
I don’t know as that will be any help.
Investigating this has revealed a problem…
First, the key you want to be editing is admin_js.tagging.choose_for_topic, not js.tagging.choose_for_topic.
Second, you can remove the discourse_tagging plugin because it has been moved into core Discourse.
The reason the string is in admin_js is because we have been adding strings to the admin_js section when we shouldn’t have. With the admin_js.admin section collapsed, the client.en.yml file looks like this:
Oops.