SemanticResultFormats icon indicating copy to clipboard operation
SemanticResultFormats copied to clipboard

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

Open krabina opened this issue 6 years ago • 4 comments

Setup

  • MW version: 1.31.5
  • DB (MySQL etc.):MySQL 5.5.62-cll
  • PHP version: 7.1.26 (fpm-fcgi)
  • SMW version: 3.1.1 (143488d)
  • SRF version: 3.1.0 (aa0649f)
  • Browsers and versions (if applicable): Firefox 70

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

krabina avatar Nov 21 '19 10:11 krabina

@akuckartz image

JeroenDeDauw avatar Nov 21 '19 19:11 JeroenDeDauw

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

akuckartz avatar Nov 22 '19 06:11 akuckartz

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

krabina avatar Feb 06 '23 16:02 krabina

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 <anonymous> _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 <anonymous> _prelude.js:1

krabina avatar Feb 06 '23 16:02 krabina