SemanticResultFormats
SemanticResultFormats copied to clipboard
[filtered] format, calender view: TypeError: key.toUpperCase is not a function
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
@akuckartz

@JeroenDeDauw I use that emoji to tag interesting issues or comments.
Just hit this bug again on MW 1.35.8, SMW/SRF 4.0.1
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