SemanticMediaWiki / SemanticResultFormats

Provides additional visualizations (result formats) for Semantic MediaWiki
https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Result_Formats
Other
45 stars 77 forks source link

[filtered] format, calender view: TypeError: key.toUpperCase is not a function #555

Open krabina opened 5 years ago

krabina commented 5 years ago

Setup

Issue

Calender view not working.

Steps to reproduce In my tests, table view is working fine, just when I add the calendar view, the filtered format does not display anything other then the "loading" circle. When trying to recreate on Sandbox, the filtered format does not seem to work altogether: https://sandbox.semantic-mediawiki.org/wiki/Filtered/Calendar_view

Stacktrace

TypeError: key.toUpperCase is not a functionload.php:733:376
    jQuery 34
        longDateFormat
        formatRange
        formatRange
        computeTitle
        <anonym>
        Model</Model.prototype.watch/this._watchers[name]<
        onDepChange
        _watchDeps
        intercept
        dispatch
        handle
        trigger
        triggerHandler
        trigger
        setProps
        set
        setDate
        renderView
        initialRender
        render
        fullCalendar
        each
        each
        fullCalendar
        init
        attachViews
        run
        _loop_1
        fire
        fireWith
        fire
        <anonym>
        mightThrow
        process
JeroenDeDauw commented 5 years ago

@akuckartz image

akuckartz commented 5 years ago

@JeroenDeDauw I use that emoji to tag interesting issues or comments.

krabina commented 1 year ago

Just hit this bug again on MW 1.35.8, SMW/SRF 4.0.1

krabina commented 1 year ago

` Uncaught TypeError: key.toUpperCase is not a function jQuery 24 init CalendarView.ts:76 attachViews Filtered.ts:102 run Filtered.ts:53 _loop_1 ext.srf.filtered.js:1465 jQuery 2 _loop_1 ext.srf.filtered.js:1465 [13]< ext.srf.filtered.js:1469 o _prelude.js:1 r _prelude.js:1

_prelude.js:1 moment.js:438:48 jQuery 24 init CalendarView.ts:76 attachViews Filtered.ts:102 run Filtered.ts:53 _loop_1 ext.srf.filtered.js:1465 jQuery 2 _loop_1 ext.srf.filtered.js:1465 [13]< ext.srf.filtered.js:1469 o _prelude.js:1 r _prelude.js:1 _prelude.js:1 `