View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
11189Bug reportsSurvey takingpublic2016-06-03 13:14
ReporterResearchOnBlogs Assigned Toollehar  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Target Version2.50.xFixed in Version2.50.x 
Summary11189: bootstrap-datetimepicker causes error - need moment.js
Description

Seems that moment.js is not included.

Found only moment-with-locales.js in yiiweels

bootstrap-datetimepicker.js:49 Uncaught bootstrap-datetimepicker requires Moment.js to be loaded first

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)master
I will donate to the project if issue is resolvedNo
Browser
Database type & versionxx
Server OS (if known)xx
Webserver software & version (if known)xx
PHP Versionxx

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2016-05-15 09:57

administrator   ~38574

Are you using the latest version of LimeSurvey?

ResearchOnBlogs

ResearchOnBlogs

2016-05-17 10:25

developer   ~38588

it's the latest master

krause

krause

2016-05-23 08:52

reporter   ~38716

The priority and implication is severe!
In some of our surveys the date is mandatory.
The date field doesn't work, even manualy no date entry is possible.
Therefore, the surveys are broken/impossible to finish.

krause

krause

2016-05-23 09:21

reporter   ~38717

Last edited: 2016-05-23 09:21

GET
https://.../tmp/assets/7286f7ef/js/bootstrap-datetimepicker.js [HTTP/1.1 404 Not Found 121ms]

TypeError: jQuery(...).datetimepicker is not a function
736379:1134:1

krause

krause

2016-05-23 09:45

reporter   ~38718

Workaround:
Changed to default template

and copied
https://raw.githubusercontent.com/smalot/bootstrap-datetimepicker/master/js/bootstrap-datetimepicker.js

to templates/default/scripts

deleted my session in tmp/assets

ollehar

ollehar

2016-05-23 10:10

administrator   ~38721

Which template did you use before the default one?

Mazi

Mazi

2016-05-27 10:02

updater   ~38971

Last edited: 2016-05-27 10:06

I can reproduce this issue with my template, see http://ls25.mysurveyhosting.com/index.php/survey/index/sid/459676/newtest/Y/lang/en

404 error for loading http://ls25.mysurveyhosting.com/tmp/assets/bf7cb909/js/bootstrap-datetimepicker.js

The temporary solution to remove the assets folder worked for me.

c_schmitz

c_schmitz

2016-05-27 20:23

administrator   ~38977

Marcel, please don't just assign stuff to someone. It is not helpful.

LouisGac

LouisGac

2016-06-03 12:46

developer   ~39154

now, the asset directory is cleaned at each update.

Issue History

Date Modified Username Field Change
2016-05-13 17:16 ResearchOnBlogs New Issue
2016-05-15 09:57 ollehar Note Added: 38574
2016-05-17 10:25 ResearchOnBlogs Note Added: 38588
2016-05-23 08:52 krause Note Added: 38716
2016-05-23 09:21 krause Note Added: 38717
2016-05-23 09:21 krause Note Edited: 38717
2016-05-23 09:45 krause Note Added: 38718
2016-05-23 10:10 ollehar Note Added: 38721
2016-05-23 10:48 c_schmitz Status new => feedback
2016-05-27 10:02 Mazi Note Added: 38971
2016-05-27 10:02 Mazi Assigned To => ollehar
2016-05-27 10:02 Mazi Status feedback => assigned
2016-05-27 10:06 Mazi Note Edited: 38971
2016-05-27 20:23 c_schmitz Note Added: 38977
2016-06-03 12:46 LouisGac Note Added: 39154
2016-06-03 12:46 LouisGac Status assigned => resolved
2016-06-03 12:46 LouisGac Resolution open => fixed
2016-06-03 13:14 c_schmitz Status resolved => closed
2016-06-03 13:14 c_schmitz Fixed in Version => 2.5