View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13548 | Bug reports | Conditions | public | 2018-03-28 14:13 | 2018-06-27 15:29 |
Reporter | josep | Assigned To | |||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.3.x | ||||
Fixed in Version | 3.12.x | ||||
Summary | 13548: Import survey process fails sometimes with data conditions | ||||
Description | Import survey process fails when you use copy question feature and question have conditions. I create a survey with 1 group and 4 questions. As you can see (at attachments) questioncopied conditions are imported with errors while original survey has no errors. | ||||
Tags | No tags attached. | ||||
Attached Files | survey_logic_file-imported.html (17,072 bytes)
<html><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/jquery-ui.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/font-awesome.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/bootstrap.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/yiistrap.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/bootstrap-switch.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/select2.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/select2-bootstrap.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/bootstrap-datetimepicker.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/roboto.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/icomoon.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/lime-admin-common.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/jcarousel.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/attributeMap.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/attributeMapToken.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/displayParticipants.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/lsadminpanel.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/lstutorial.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/lime-admin-colors.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/statistics.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/expressionlogicfile.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-imported_fitxers/expressions.css"> <script type="text/javascript">window.debugState = {frontend : (0 === 1), backend : (0 === 1)};</script><script type="text/javascript" src="survey_logic_file-imported_fitxers/jquery-3.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/jquery-migrate-3.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/jquery-ui.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/bootstrap-remote-modals.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/admin_core.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/notifications.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/js.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/bootstrap.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/moment-with-locales.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/select2.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/lslog.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/pjax.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/loadPjax.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/lsadminpanel.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/surveysettings.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/hammer.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/ckeditor_002.js" class="headScriptTag"></script><script type="text/javascript" src="survey_logic_file-imported_fitxers/loader.js"></script><script src="survey_logic_file-imported_fitxers/event.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/editor_basic.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/env.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/ckeditor_basic.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/log.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/dom.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/tools.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/dtd.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/event_002.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/domobject.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/node.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/window.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/document.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/nodelist.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/element.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/documentfragment.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/walker.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/range.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/iterator.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/command.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/ckeditor_base.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/config.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/filter.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/focusmanager.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/keystrokehandler.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/lang.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/scriptloader.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/resourcemanager.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/plugins.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/ui.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/editor.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/htmlparser.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/basicwriter.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/node_002.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/comment_002.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/text.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/cdata.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/fragment.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/filter_002.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/htmldataprocessor.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/element_002.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/template.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/ckeditor.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/inline.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/themedui.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/editable.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/selection.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/style.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/comment.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/elementpath.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/text_002.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/rangelist.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/skin.js" type="text/javascript"></script><script src="survey_logic_file-imported_fitxers/_bootstrap.js" type="text/javascript"></script><style>.cke{visibility:hidden;}</style> <script type="text/javascript" src="survey_logic_file-imported_fitxers/config_002.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/ckeditoradditions.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/expression.js" class="headScriptTag"></script> <script type="text/javascript"> /*<![CDATA[*/ LS.globalUserId = "3"; /*]]>*/ </script> </head><body><script type="text/javascript" src="survey_logic_file-imported_fitxers/bootstrap-switch.js"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/bootstrap-datetimepicker.js"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/notify.js"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/panelclickable.js"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/panelsanimation.js"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/save.js"></script> <script type="text/javascript" src="survey_logic_file-imported_fitxers/decimal.js"></script> <style> @page { size: landscape; } @media print { html {width: 670px; white-space: pre-wrap; overflow: visible;} body {width: 100%; white-space: pre-wrap; overflow: visible; font-size: 12pt;} table { overflow: visible !important; } div { overflow: visible !important; } * { overflow: visible !important; } } </style><p class="alert alert-danger">1 pregunta contiene errores que deben ser corregidos.</p> <div id="showlogicfilediv" class="table-responsive"><h3>Fichero lógico para Encuesta #[487162]: Test Copy Conditions</h3> <table id="logicfiletable" class="table table-bordered"><tbody><tr> <th class="column-0">#</th> <th class="column-1">Nombre [ID]</th> <th class="column-2">Relevancia [Validación] (Valor por defecto)</th> <th class="column-3">Texto [Ayuda] (Consejo)</th> </tr> <tr class="LEMgroup"><td class="">G-0</td><td><b>Group</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questiongroups/sa/view/surveyid/487162/gid/129">GID 129</a>]</td><td><span class="em-expression" data-original-title="" title="">1</span></td><td> </td></tr> <tr class="LEMquestion"><td class="">Q-0</td><td><b>select</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/487162/gid/129/qid/529">QID 529</a>]<br>Sí/No [Y] </td><td><span class="em-expression" data-original-title="" title="">1</span></td><td>&nbsp</td></tr> <tr class="LEMquestion"><td class="">Q-1</td><td><b>question</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/487162/gid/129/qid/530">QID 530</a>]<br>Texto libre (línea) [S] </td><td><span class="em-expression" data-original-title="" title="">((<a title="[java487162X129X529][G:0][Q:0]: ; ,'answers':{ 'Y':'Sí','N':'No' }" class="em-var-after em-var-inpage" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/487162/gid/129/qid/529">select.NAOK</a> == <span title="" class="em-var-string">"Y"</span>))</span></td><td>Question</td></tr> <tr class="LEMquestion"><td class="danger">Q-2</td><td><b>questioncopied</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/487162/gid/129/qid/531">QID 531</a>]<br>Texto libre (línea) [S] <br><em class="label label-danger">Esta pregunta tiene al menos 1 error.<em></em></em></td><td><span class="em-expression em-haveerror" data-original-title="" title="">((<span title="Undefined variable" class="em-error"><span title="Undefined variable" class="em-var-error">947478X127X522.NAOK</span></span> == <span title="" class="em-var-string">"Y"</span>))</span></td><td>Question copied</td></tr> <tr class="LEMquestion"><td class="">Q-3</td><td><b>questionnotcopied</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/487162/gid/129/qid/532">QID 532</a>]<br>Texto libre (línea) [S] </td><td><span class="em-expression" data-original-title="" title="">((<a title="[java487162X129X529][G:0][Q:0]: ; ,'answers':{ 'Y':'Sí','N':'No' }" class="em-var-after em-var-inpage" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/487162/gid/129/qid/529">select.NAOK</a> == <span title="" class="em-var-string">"Y"</span>))</span></td><td>Question not copied</td></tr> </tbody></table><table class="table" border="1"><tbody><tr><td colspan="2"><b>Total time attributable to EM = 0.096776008605957</b></td></tr> <tr><td>LimeExpressionManager::singleton</td><td>0.00034379959106445</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager.createFieldMap</td><td>0.050488948822021</td></tr> <tr><td>LimeExpressionManager::ProcessString</td><td>0.0013000965118408</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - question_attributes_model->getQuestionAttributesForEM</td><td>0.027669906616211</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - answers_model->getAnswerSetsForEM</td><td>0.0010318756103516</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - process fieldMap</td><td>0.00034999847412109</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager.createFieldMap</td><td>1.7881393432617E-5</td></tr> <tr><td>LimeExpressionManager::ProcessString</td><td>0.0002439022064209</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - question_attributes_model->getQuestionAttributesForEM</td><td>0.0048389434814453</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - answers_model->getAnswerSetsForEM</td><td>0.00059986114501953</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - process fieldMap</td><td>0.00020480155944824</td></tr> <tr><td>LimeExpressionManager::NavigateForwards</td><td>0.0094871520996094</td></tr> <tr><td>LimeExpressionManager::ProcessString</td><td>0.0001988410949707</td></tr> </tbody></table> <script type="text/javascript" src="survey_logic_file-imported_fitxers/lstutorial.js"></script> <script type="text/javascript"> /*<![CDATA[*/ jQuery('body').popover({'selector':'a\x5Brel\x3Dpopover\x5D'}); jQuery('body').tooltip({'selector':'a\x5Brel\x3Dtooltip\x5D'}); jQuery(document).off('pjax:scriptsuccess.debugger').on('pjax:scriptsuccess.debugger',function(e) { console.ls.log('PJAX scriptsuccess', e); }); jQuery(document).off('pjax:scripterror.debugger').on('pjax:scripterror.debugger',function(e) { console.ls.log('PJAX scripterror', e); }); jQuery(document).off('pjax:scripttimeout.debugger').on('pjax:scripttimeout.debugger',function(e) { console.ls.log('PJAX scripttimeout', e); }); jQuery(document).off('pjax:success.debugger').on('pjax:success.debugger',function(e) { console.ls.log('PJAX success', e);}); jQuery(document).off('pjax:error.debugger').on('pjax:error.debugger',function(e) { console.ls.log('PJAX error', e);}); /*]]>*/ </script> </div></body></html> survey_logic_file-orig.html (16,657 bytes)
<html><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/jquery-ui.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/font-awesome.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/bootstrap.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/yiistrap.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/bootstrap-switch.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/select2.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/select2-bootstrap.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/bootstrap-datetimepicker.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/roboto.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/icomoon.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/lime-admin-common.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/jcarousel.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/attributeMap.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/attributeMapToken.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/displayParticipants.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/lsadminpanel.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/lstutorial.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/lime-admin-colors.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/statistics.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/expressionlogicfile.css"> <link rel="stylesheet" type="text/css" href="survey_logic_file-orig_fitxers/expressions.css"> <script type="text/javascript">window.debugState = {frontend : (0 === 1), backend : (0 === 1)};</script><script type="text/javascript" src="survey_logic_file-orig_fitxers/jquery-3.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/jquery-migrate-3.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/jquery-ui.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/bootstrap-remote-modals.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/admin_core.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/notifications.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/js.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/bootstrap.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/moment-with-locales.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/select2.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/lslog.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/pjax.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/loadPjax.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/lsadminpanel.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/surveysettings.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/hammer.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/ckeditor_002.js" class="headScriptTag"></script><script type="text/javascript" src="survey_logic_file-orig_fitxers/loader.js"></script><script src="survey_logic_file-orig_fitxers/event.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/editor_basic.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/env.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/ckeditor_basic.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/log.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/dom.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/tools.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/dtd.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/event_002.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/domobject.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/node.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/window.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/document.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/nodelist.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/element.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/documentfragment.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/walker.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/range.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/iterator.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/command.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/ckeditor_base.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/config.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/filter.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/focusmanager.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/keystrokehandler.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/lang.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/scriptloader.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/resourcemanager.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/plugins.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/ui.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/editor.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/htmlparser.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/basicwriter.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/node_002.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/comment_002.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/text.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/cdata.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/fragment.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/filter_002.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/htmldataprocessor.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/element_002.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/template.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/ckeditor.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/inline.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/themedui.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/editable.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/selection.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/style.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/comment.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/elementpath.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/text_002.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/rangelist.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/skin.js" type="text/javascript"></script><script src="survey_logic_file-orig_fitxers/_bootstrap.js" type="text/javascript"></script><style>.cke{visibility:hidden;}</style> <script type="text/javascript" src="survey_logic_file-orig_fitxers/config_002.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/ckeditoradditions.js" class="headScriptTag"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/expression.js" class="headScriptTag"></script> <script type="text/javascript"> /*<![CDATA[*/ LS.globalUserId = "3"; /*]]>*/ </script> </head><body><script type="text/javascript" src="survey_logic_file-orig_fitxers/bootstrap-switch.js"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/bootstrap-datetimepicker.js"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/notify.js"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/panelclickable.js"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/panelsanimation.js"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/save.js"></script> <script type="text/javascript" src="survey_logic_file-orig_fitxers/decimal.js"></script> <style> @page { size: landscape; } @media print { html {width: 670px; white-space: pre-wrap; overflow: visible;} body {width: 100%; white-space: pre-wrap; overflow: visible; font-size: 12pt;} table { overflow: visible !important; } div { overflow: visible !important; } * { overflow: visible !important; } } </style><p class="LEMheading">No hay errores de sintaxis detectados en esta encuesta.</p> <div id="showlogicfilediv" class="table-responsive"><h3>Fichero lógico para Encuesta #[947478]: Test Copy Conditions</h3> <table id="logicfiletable" class="table table-bordered"><tbody><tr> <th class="column-0">#</th> <th class="column-1">Nombre [ID]</th> <th class="column-2">Relevancia [Validación] (Valor por defecto)</th> <th class="column-3">Texto [Ayuda] (Consejo)</th> </tr> <tr class="LEMgroup"><td class="">G-0</td><td><b>Group</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questiongroups/sa/view/surveyid/947478/gid/127">GID 127</a>]</td><td><span class="em-expression" data-original-title="" title="">1</span></td><td> </td></tr> <tr class="LEMquestion"><td class="">Q-0</td><td><b>select</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/947478/gid/127/qid/522">QID 522</a>]<br>Sí/No [Y] </td><td><span class="em-expression" data-original-title="" title="">1</span></td><td>&nbsp</td></tr> <tr class="LEMquestion"><td class="">Q-1</td><td><b>question</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/947478/gid/127/qid/523">QID 523</a>]<br>Texto libre (línea) [S] </td><td><span class="em-expression" data-original-title="" title="">((<a title="[java947478X127X522][G:0][Q:0]: ; ,'answers':{ 'Y':'Sí','N':'No' }" class="em-var-after em-var-inpage" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/947478/gid/127/qid/522">select.NAOK</a> == <span title="" class="em-var-string">"Y"</span>))</span></td><td>Question</td></tr> <tr class="LEMquestion"><td class="">Q-2</td><td><b>questioncopied</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/947478/gid/127/qid/524">QID 524</a>]<br>Texto libre (línea) [S] </td><td><span class="em-expression" data-original-title="" title="">((<a title="[java947478X127X522][G:0][Q:0]: ; ,'answers':{ 'Y':'Sí','N':'No' }" class="em-var-after em-var-inpage" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/947478/gid/127/qid/522">select.NAOK</a> == <span title="" class="em-var-string">"Y"</span>))</span></td><td>Question copied</td></tr> <tr class="LEMquestion"><td class="">Q-3</td><td><b>questionnotcopied</b><br>[<a target="_blank" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/947478/gid/127/qid/528">QID 528</a>]<br>Texto libre (línea) [S] </td><td><span class="em-expression" data-original-title="" title="">((<a title="[java947478X127X522][G:0][Q:0]: ; ,'answers':{ 'Y':'Sí','N':'No' }" class="em-var-after em-var-inpage" href="http://limesurvey-server-dev.bnc/limesurvey/index.php/admin/questions/sa/view/surveyid/947478/gid/127/qid/522">select.NAOK</a> == <span title="" class="em-var-string">"Y"</span>))</span></td><td>Question not copied</td></tr> </tbody></table><table class="table" border="1"><tbody><tr><td colspan="2"><b>Total time attributable to EM = 0.092733144760132</b></td></tr> <tr><td>LimeExpressionManager::singleton</td><td>0.00027298927307129</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager.createFieldMap</td><td>0.050549983978271</td></tr> <tr><td>LimeExpressionManager::ProcessString</td><td>0.0002748966217041</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - question_attributes_model->getQuestionAttributesForEM</td><td>0.025366067886353</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - answers_model->getAnswerSetsForEM</td><td>0.00098800659179688</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - process fieldMap</td><td>0.0002131462097168</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager.createFieldMap</td><td>1.8119812011719E-5</td></tr> <tr><td>LimeExpressionManager::ProcessString</td><td>0.00026702880859375</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - question_attributes_model->getQuestionAttributesForEM</td><td>0.0047550201416016</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - answers_model->getAnswerSetsForEM</td><td>0.00059795379638672</td></tr> <tr><td>LimeExpressionManager::setVariableAndTokenMappingsForExpressionManager - process fieldMap</td><td>0.00019192695617676</td></tr> <tr><td>LimeExpressionManager::NavigateForwards</td><td>0.0090410709381104</td></tr> <tr><td>LimeExpressionManager::ProcessString</td><td>0.00019693374633789</td></tr> </tbody></table> </div><script type="text/javascript" src="survey_logic_file-orig_fitxers/lstutorial.js"></script> <script type="text/javascript"> /*<![CDATA[*/ jQuery('body').popover({'selector':'a\x5Brel\x3Dpopover\x5D'}); jQuery('body').tooltip({'selector':'a\x5Brel\x3Dtooltip\x5D'}); jQuery(document).off('pjax:scriptsuccess.debugger').on('pjax:scriptsuccess.debugger',function(e) { console.ls.log('PJAX scriptsuccess', e); }); jQuery(document).off('pjax:scripterror.debugger').on('pjax:scripterror.debugger',function(e) { console.ls.log('PJAX scripterror', e); }); jQuery(document).off('pjax:scripttimeout.debugger').on('pjax:scripttimeout.debugger',function(e) { console.ls.log('PJAX scripttimeout', e); }); jQuery(document).off('pjax:success.debugger').on('pjax:success.debugger',function(e) { console.ls.log('PJAX success', e);}); jQuery(document).off('pjax:error.debugger').on('pjax:error.debugger',function(e) { console.ls.log('PJAX error', e);}); /*]]>*/ </script> </body></html> | ||||
Bug heat | 16 | ||||
Complete LimeSurvey version number (& build) | 3.5.4+180320 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox ESR 52.7.2 (64 bits | ||||
Database type & version | postgresql-9.6 9.6.6-0+deb9u1 | ||||
Server OS (if known) | GNU Linux Debian 9.3 | ||||
Webserver software & version (if known) | apache2 2.4.25-3+deb9u3 | ||||
PHP Version | php7.0 7.0.27-0+deb9u1 | ||||
has duplicate | 13571 | closed | Import question with relevance equitation - relevance equitation not matching |
I review *.lss and I think error is that condition xml entry in <conditions>... is missing. Thank's in advance. <conditions> |
|
Good news! I manually added this block of XML to *.lss and I can import survey without any error. <row> Then, perhaps, bug is in copy feature. |
|
Process fails not only copying questions: exporting and importing question make survey importation process with bugs too. |
|
thank you very much for that detailed bugs report. |
|
Did a few more tests. |
|
Denis: Dominik found that reverting this commit fix this bug: but we're not sure we can revert it. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=27536 |
|
Issue is fixed. |
|
Version 3.12.3+180627 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-28 14:13 | josep | New Issue | |
2018-03-28 14:13 | josep | File Added: survey_logic_file-imported.html | |
2018-03-28 14:13 | josep | File Added: survey_logic_file-orig.html | |
2018-03-28 14:13 | josep | File Added: limesurvey_survey_947478(1).lss | |
2018-03-28 14:32 | josep | Note Added: 47265 | |
2018-03-28 14:38 | josep | Note Added: 47266 | |
2018-03-28 14:59 | josep | Note Added: 47267 | |
2018-04-10 12:02 | josep | Issue Monitored: josep | |
2018-04-10 12:02 | josep | Issue End Monitor: josep | |
2018-05-16 13:13 |
|
Assigned To | => LouisGac |
2018-05-16 13:13 |
|
Status | new => assigned |
2018-05-16 13:16 |
|
Note Added: 47637 | |
2018-05-16 13:35 |
|
Relationship added | has duplicate 13571 |
2018-05-23 13:04 |
|
Priority | none => high |
2018-06-18 13:30 |
|
Assigned To | LouisGac => dominikvitt |
2018-06-20 17:27 |
|
Status | assigned => confirmed |
2018-06-21 17:30 |
|
Note Added: 48270 | |
2018-06-26 14:08 |
|
Assigned To | dominikvitt => DenisChenu |
2018-06-26 14:09 |
|
Note Added: 48295 | |
2018-06-26 16:08 | Changeset attached | => LimeSurvey master 60284888 | |
2018-06-26 16:08 | guest | Note Added: 48298 | |
2018-06-26 16:08 | guest | Resolution | open => fixed |
2018-06-26 16:14 |
|
Assigned To | DenisChenu => dominikvitt |
2018-06-26 16:14 |
|
Status | confirmed => resolved |
2018-06-26 16:14 |
|
Fixed in Version | => 3.12.x |
2018-06-26 16:14 |
|
Note Added: 48299 | |
2018-06-27 15:29 | c_schmitz | Note Added: 48330 | |
2018-06-27 15:29 | c_schmitz | Status | resolved => closed |