View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
04571Bug reportsData Entry (non public)public2010-10-13 21:40
Reportertamacheq Assigned Toc_schmitz  
PrioritynormalSeveritycrash 
Status closedResolutionfixed 
Fixed in Version1.90+ 
Summary04571: Javascript error on select in admin data entry interface
Description

When editing answer through admin interface (admin.php?action=dataentry&subaction=edit), if i try to select an option in the select list, I got the error :
Échec du chargement de la source pour: http:/blabla/admin/admin.php?action=dataentry&subaction=edit&id=25&sid=xxx&language=fr : editsurvey is not defined

which corresponds to the function
function rankthis_3934($code, $value)
{
$index=document.editsurvey.CHOICES_3934.selectedIndex;
for (i=1; i<=8; i++)
{

TagsNo tags attached.
Attached Files
limesurvey_survey_55512.csv (4,599 bytes)   
# LimeSurvey Survey Dump
# DBVersion 142
# This is a dumped survey from the LimeSurvey Script
# http://www.limesurvey.org/
# Do not change this header!

#
# SURVEYS TABLE
#
"sid","owner_id","admin","active","expires","startdate","adminemail","private","faxto","format","template","language","additional_languages","datestamp","usecookie","notification","allowregister","allowsave","autonumber_start","autoredirect","allowprev","printanswers","ipaddr","refurl","datecreated","publicstatistics","publicgraphs","listpublic","htmlemail","tokenanswerspersistence","assessments","usecaptcha","usetokens","bounce_email","attributedescriptions","emailresponseto","tokenlength"
"55512","1","Your Name","Y","","","your@email.org","Y","","G","default","fr","","N","N","0","N","Y","0","N","Y","N","N","N","2010-09-30","N","N","N","Y","N","N","D","N","your@email.org","","","15"

#
# GROUPS TABLE
#
"gid","sid","group_name","group_order","description","language"
"74","55512","groupe 1","0","","fr"

#
# QUESTIONS TABLE
#
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","lid1","question_order","language"
"612","55512","74","R","q1","question 1<br />","","","N","Y","0","0","0","fr"

#
# ANSWERS TABLE
#
"qid","code","answer","default_value","assessment_value","sortorder","language"
"612","1","choix 1","N","0","1","fr"
"612","2","choix 2","N","0","2","fr"
"612","3","choix 3","N","0","3","fr"
"612","4","choix 4","N","0","4","fr"
"612","5","choix 5","N","0","5","fr"

#
# CONDITIONS TABLE
#

#
# LABELSETS TABLE
#

#
# LABELS TABLE
#

#
# QUESTION_ATTRIBUTES TABLE
#
"qaid","qid","attribute","value"
"8714","612","hide_tip","0"
"8715","612","hidden","0"
"8716","612","max_answers","3"
"8717","612","min_answers","1"
"8718","612","page_break","0"
"8719","612","public_statistics","0"
"8720","612","random_order","0"

#
# ASSESSMENTS TABLE
#

#
# SURVEYS_LANGUAGESETTINGS TABLE
#
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_endtext","surveyls_url","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm","surveyls_dateformat"
"55512","fr","Test avec question à ordonner","","","<br />","","","Invitation à participer à un questionnaire","Cher(e) {FIRSTNAME},<br /><br />Vous avez été invité à participer à un questionnaire.<br /><br />Celui-ci est intitulé :<br />""{SURVEYNAME}""<br /><br />""{SURVEYDESCRIPTION}""<br /><br />Pour participer, veuillez cliquer sur le lien ci-dessous.<br /><br />Cordialement,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Cliquez ici pour remplir ce questionnaire :<br />{SURVEYURL}","Rappel pour participer à un questionnaire","Cher(e) {FIRSTNAME},<br /><br />Vous avez été invité à participer à un questionnaire récemment.<br /><br />Nous avons pris en compte que vous n'avez pas encore complété le questionnaire, et nous vous rappelons que celui-ci est toujours disponible si vous souhaitez participer.<br /><br />Le questionnaire est intitulé :<br />""{SURVEYNAME}""<br /><br />""{SURVEYDESCRIPTION}""<br /><br />Pour participer, veuillez cliquer sur le lien ci-dessous.<br /><br />Cordialement,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Cliquez ici pour faire le questionnaire:<br />{SURVEYURL}","Confirmation de l'inscription au questionnaire","Cher(e){FIRSTNAME},<br /><br />Vous (ou quelqu'un utilisant votre adresse électronique) vous êtes enregistré pour participer à un questionnaire en ligne intitulé {SURVEYNAME}.<br /><br />Pour compléter ce questionnaire, cliquez sur le lien suivant :<br /><br />{SURVEYURL}<br /><br />Si vous avez des questions à propos de ce questionnaire, ou si vous ne vous êtes pas enregistré pour participer à celui-ci et croyez que ce courriel est une erreur, veuillez contacter {ADMINNAME} sur {ADMINEMAIL}","Confirmation de questionnaire complété","Cher(e) {FIRSTNAME},<br /><br />Ce courriel vous confirme que vous avez complété le questionnaire intitulé {SURVEYNAME} et que votre réponse a été enregistrée. Merci pour votre participation.<br /><br />Si vous avez des questions à propos de ce courriel, veuillez contacter {ADMINNAME} sur {ADMINEMAIL}.<br /><br />Cordialement,<br /><br />{ADMINNAME}","1"

#
# QUOTA TABLE
#

#
# QUOTA_MEMBERS TABLE
#

#
# QUOTA_LANGUAGESETTINGS TABLE
#

limesurvey_survey_55512.csv (4,599 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)1.87
I will donate to the project if issue is resolved
Browser
Database type & versionmysql
Server OS (if known)linux
Webserver software & version (if known)apache2
PHP Version5

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2010-09-09 13:13

updater   ~12801

Please attach a simple survey which we can use to reproduce the problem.

Thanks!

jcleeland

jcleeland

2010-09-13 06:17

reporter   ~12835

Yes, please attach an example - in particular we'd need to know what type of question is your question with the id 3934 so we can do testing.

Thanks,

Jason

Mazi

Mazi

2010-09-30 00:36

updater   ~12944

tamacheq, please add a small sample survey which we can use to reproduce the problem.
Otherwise we have to close the ticket.

tamacheq

tamacheq

2010-09-30 18:30

reporter   ~12958

Hello
I have added a survey. You have to run the survey to add a response. Then edit the response as an administrator and try to remove one choice.
Use may use firebug to look at the javascript errors.
Thanks
Anne

c_schmitz

c_schmitz

2010-10-13 21:40

administrator   ~13156

This seems to be fixed in 1.90+. No error can be seen.

Issue History

Date Modified Username Field Change
2010-09-02 13:19 tamacheq New Issue
2010-09-02 15:14 c_schmitz Assigned To => jcleeland
2010-09-02 15:14 c_schmitz Status new => assigned
2010-09-09 13:13 Mazi Note Added: 12801
2010-09-09 13:13 Mazi Status assigned => feedback
2010-09-13 06:17 jcleeland Note Added: 12835
2010-09-30 00:36 Mazi Note Added: 12944
2010-09-30 18:29 tamacheq File Added: limesurvey_survey_55512.csv
2010-09-30 18:30 tamacheq Note Added: 12958
2010-09-30 18:30 tamacheq Status feedback => assigned
2010-10-01 10:15 DenisChenu Issue Monitored: DenisChenu
2010-10-02 14:12 DenisChenu Issue End Monitor: DenisChenu
2010-10-13 21:40 c_schmitz Note Added: 13156
2010-10-13 21:40 c_schmitz Status assigned => closed
2010-10-13 21:40 c_schmitz Assigned To jcleeland => c_schmitz
2010-10-13 21:40 c_schmitz Resolution open => fixed
2010-10-13 21:40 c_schmitz Fixed in Version => 1.90+