לא עובד "הוסף קבוצת תגים נדרשת" עבור קטגוריה חדשה

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:

  1. Enter safe mode.
  2. Choose to create a new category.
  3. Choose the “Tags” configuration tab, then activate the “Add required tag group” button.
  4. 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.

4 לייקים

I’m able to repro this issue. :slight_smile:

4 לייקים

@selase would you mind having a quick look at this one?

3 לייקים

Sure! Looking into it.

2 לייקים

@jlc Thanks for the detailed report. This has been fixed.

4 לייקים

This topic was automatically closed after 3 days. New replies are no longer allowed.