Priority/Severity: low
Platform: Linux with Chrome 110.0.5481.77, Discourse 3.1.0.beta2 (d84d38cbe7)
Description: Attempting to use the “Add required tag group” button when creating a new category leads to the following JavaScript exception:
Uncaught TypeError: Cannot read properties of undefined (reading 'pushObject')
at e.addRequiredTagGroup (edit-category-tags.js:22:1)
at $._run (index.ts:665:23)
at $._join (index.ts:640:19)
at $.join (index.ts:362:17)
at p (index.js:157:1)
at index.js:708:1
at a (index.js:128:1)
at index.js:707:1
at index.js:666:1
at d._triggerAction (d-button.js:116:1)
at d.click (d-button.js:80:1)
Reproducible steps:
- Enter safe mode.
- Choose to create a new category.
- Choose the “Tags” configuration tab, then activate the “Add required tag group” button.
- Nothing visible happens, and the exception trace listed above is logged to the error console.
Workaround: First save the new category, then the button works as expected.