In admin "community health": Uncaught TypeError: o is undefined

Hi!

When I try to change date range in the main graph of the main page of the admin “Community health” maybe in english, I’m getting:

Uncaught TypeError: o is undefined
    Ember 9
    setCustomDateRange admin-dashboard-general.js:116
    updateDateRange custom-date-range.js:57
    _triggerAction d-button.js:117
    click d-button.js:87
    br runtime.js:6118
    install runtime.js:6255
    v runtime.js:3989
    track validator.js:622
    commit runtime.js:3987
    commit runtime.js:4062
    Nt runtime.js:4082
    Ember 3
    invoke backburner.js.js:280
    flush backburner.js.js:197
    flush backburner.js.js:358
    _end backburner.js.js:798
    _boundAutorunEnd backburner.js.js:523
    promise callback*n/< backburner.js.js:26
    flush Ember
    _scheduleAutorun backburner.js.js:964
    _end backburner.js.js:804
    _boundAutorunEnd backburner.js.js:523
    promise callback*n/< backburner.js.js:26
    flush Ember
    _scheduleAutorun backburner.js.js:964
    _end backburner.js.js:804
    _boundAutorunEnd backburner.js.js:523
    promise callback*n/< backburner.js.js:26
    flush Ember
    _scheduleAutorun backburner.js.js:964
    _ensureInstance backburner.js.js:955
    ensureInstance backburner.js.js:767
    scheduleRevalidate Ember
    dirtyTag validator.js:368
    T validator.js:440
    setter validator.js:656
    l Ember
    close modal.js:92
    show modal.js:66
    openCustomDateRangeModal admin-dashboard-general.js:122
    _triggerAction d-button.js:117
    click d-button.js:87
index.js:1384

I’m using 3.2.0.beta5-dev (8838d27754).

3 Likes

I can reproduce this, thanks for the report, we will take a look.

2 Likes

Thanks for the bug report @Julien_Palard. This is now fixed in latest Discourse version.

4 Likes

I can confirm this is fixed after upgrading!

Thanks a lot @techAPJ for the fix!

3 Likes

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