View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 16173 | Bug reports | Survey editing | public | 2020-04-23 00:03 | 2020-12-28 15:28 |
| Reporter | TomBenj | Assigned To | cdorin | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 4.1.15 | ||||
| Summary | 16173: Cannot Save Radio LIst Answer Options | ||||
| Description | This is very frustrating. I've tried Firefox, Chrome and Edge, and most of the time when I try adding Answer Options to a List Radio (L) type question I am unable to save the question. I get a red pop-up with no message, and when I use browser developer tools I see that various js or css files could not be loaded from the tmp/assets location. Couple of screenshots attached. | ||||
| Steps To Reproduce | Create a survey with one group, add a radio list question, try and add answer options | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 4.1.15+200402 | ||||
| I will donate to the project if issue is resolved | Yes | ||||
| Browser | Chrome, Firefox, Edge (latest versions) | ||||
| Database type & version | MySQL 10.3.22-MariaDB-cll-lve | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache 2.4.41 | ||||
| PHP Version | 7.4 | ||||
|
Adding .lss file |
|
|
Hello @TomBenj - unfortunately, I cannot reproduce it. Can you update to 4.2? Are you using a docker image or a normal installation? |
|
|
I just bought a ComfortUpdate key and was able to update to 4.1.18, but I do not have the option to go to 4.2.0. Would it be a simple process? I have access to the server through cPanel. The original installation was done through Installatron using cPanel. |
|
|
Console log from Edge attached, just in case you don't believe me! cupe1978.com-1587757524939.log (14,476 bytes)
jquery-migrate-3.1.0.min.js:2 JQMIGRATE: Migrate is installed, version 3.1.0
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore AdminCore {document: Array(11)}
lslog.js:82 AdminCore saveBindings {check: "[data-submit-form]", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#save-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-question-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: ".open-preview", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#in_survey_common", on: "lsStopLoading", run: ƒ} s.fn.init [div#in_survey_common.container-fluid.ls-flex-column.fill.col-12]
lslog.js:82 AdminCore s.fn.init [div#in_survey_common.container-fluid.ls-flex-column.fill.col-12] on lsStopLoading run ƒ (t){o(),e=!1}
lslog.js:82 AdminCore saveBindings {check: "#create-import-copy-survey", on: "lsStopLoading", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore TRIGGERWARNING Document ready triggered
lslog.js:82 AdminCore saveBindings {check: "[data-submit-form]", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#save-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-question-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: ".open-preview", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#in_survey_common", on: "lsStopLoading", run: ƒ} s.fn.init [div#in_survey_common.container-fluid.ls-flex-column.fill.col-12]
lslog.js:82 AdminCore s.fn.init [div#in_survey_common.container-fluid.ls-flex-column.fill.col-12] on lsStopLoading run ƒ (t){o(),e=!1}
lslog.js:82 AdminCore saveBindings {check: "#create-import-copy-survey", on: "lsStopLoading", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore ConfirmationModal calling
pjax.combined.min.js:1 PJAX options {elements: Array(2), selectors: Array(4), debug: false, forceRedirectOnFail: true, reRenderCSS: true, …}
DevTools failed to load SourceMap: Could not load content for https://cupe1978.com/survey/tmp/assets/337f80ff/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
LsReplacementsEditing.js:15 LsReplacementEditing#init() got called
LsReplacementsEditing.js:15 LsReplacementEditing#init() got called
LsReplacementsUI.js:15 LsReplacementUI#init() got called
LsReplacementsUI.js:15 LsReplacementUI#init() got called
lslog.js:82 AdminCore Triggering panel animation
en:31 GET https://cupe1978.com/survey/tmp/assets/4b7e44ea/spectrum.css net::ERR_ABORTED 404
VM177 jquery-migrate-3.1.0.min.js:2 JQMIGRATE: Migrate is installed, version 3.1.0
lslog.js:82 AdminCore saveBindings {check: "[data-submit-form]", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#save-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-question-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: ".open-preview", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#in_survey_common", on: "lsStopLoading", run: ƒ} s.fn.init [div#in_survey_common.container-fluid.ls-flex-column.fill.col-12]
lslog.js:82 AdminCore s.fn.init [div#in_survey_common.container-fluid.ls-flex-column.fill.col-12] on lsStopLoading run ƒ (t){o(),e=!1}
lslog.js:82 AdminCore saveBindings {check: "#create-import-copy-survey", on: "lsStopLoading", run: ƒ} s.fn.init {}
en:53 GET https://cupe1978.com/survey/tmp/assets/4b7e44ea/spectrum.js net::ERR_ABORTED 404
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore appendToLoad {type: "function", fn: ƒ}
VM197 adminbasics.min.js:1 AdminCore AdminCore {document: Array(11)}
VM197 adminbasics.min.js:1 AdminCore TRIGGERWARNING Document ready triggered
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "[data-submit-form]", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "#save-button", on: "click", run: ƒ} s.fn.init {}
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "#save-form-button", on: "click", run: ƒ} s.fn.init {}
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "#save-and-new-button", on: "click", run: ƒ} s.fn.init {}
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "#save-and-close-button", on: "click", run: ƒ} s.fn.init {}
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "#save-and-close-form-button", on: "click", run: ƒ} s.fn.init {}
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "#save-and-new-question-button", on: "click", run: ƒ} s.fn.init {}
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: ".open-preview", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "#in_survey_common", on: "lsStopLoading", run: ƒ} s.fn.init {}
VM197 adminbasics.min.js:1 AdminCore saveBindings {check: "#create-import-copy-survey", on: "lsStopLoading", run: ƒ} s.fn.init {}
VM197 adminbasics.min.js:1 AdminCore ConfirmationModal calling
VM187 pjax.js:365 PJAX options {elements: Array(2), selectors: Array(4), debug: false, forceRedirectOnFail: true, reRenderCSS: true, …}
DevTools failed to load SourceMap: Could not load content for https://cupe1978.com/survey/tmp/assets/337f80ff/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://cupe1978.com/survey/tmp/assets/50538f15/pjax.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
VM197 adminbasics.min.js:1 AdminCore Triggering panel animation
lslog.js:82 AdminCore saveBindings {check: "[data-submit-form]", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#save-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-question-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: ".open-preview", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#in_survey_common", on: "lsStopLoading", run: ƒ} s.fn.init [div#in_survey_common.container-fluid.ls-flex-column.fill.col-12]
lslog.js:82 AdminCore s.fn.init [div#in_survey_common.container-fluid.ls-flex-column.fill.col-12] on lsStopLoading run ƒ (t){o(),e=!1}
lslog.js:82 AdminCore saveBindings {check: "#create-import-copy-survey", on: "lsStopLoading", run: ƒ} s.fn.init {}
en:1 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://cupe1978.com/survey/tmp/assets/e9521383/font-src/Noto/NotoSans-Regular.ttf
ConsoleShim.js:77 QUESTIONEDIT OBJECT TO BE TRANSFERRED: {questionData: {…}}
jquery-3.4.1.min.js:2 POST https://cupe1978.com/survey/index.php/admin/questioneditor/sa/saveQuestionData/gid/7/sid/624697 500
send @ jquery-3.4.1.min.js:2
ajax @ jquery-3.4.1.min.js:2
s.ajax @ jquery-migrate-3.1.0.min.js:2
(anonymous) @ imageuploadediting.js:403
__runAjax @ imageuploadediting.js:403
$_post @ imageuploadediting.js:403
(anonymous) @ imageuploadediting.js:403
saveQuestionData @ imageuploadediting.js:403
(anonymous) @ imageuploadediting.js:403
$R.dispatch @ imageuploadediting.js:403
dispatch @ imageuploadediting.js:403
submitCurrentState @ imageuploadediting.js:403
(anonymous) @ imageuploadediting.js:403
invokeWithErrorHandling @ adminbasics.min.js:1
e.$emit @ adminbasics.min.js:1
value @ adminbasics.min.js:1
run @ adminbasics.min.js:1
(anonymous) @ adminbasics.min.js:1
(anonymous) @ adminbasics.min.js:1
baseForOwn @ adminbasics.min.js:1
(anonymous) @ adminbasics.min.js:1
forEach @ adminbasics.min.js:1
(anonymous) @ adminbasics.min.js:1
invokeWithErrorHandling @ adminbasics.min.js:1
e.$emit @ adminbasics.min.js:1
value @ adminbasics.min.js:1
clicked @ admintoppanel.js:31
oe @ admintoppanel.js:31
r @ admintoppanel.js:31
Ri.i._wrapper @ admintoppanel.js:31
lslog.js:82 AdminCore StopLoadingIconAnimation
LsReplacementsEditing.js:15 LsReplacementEditing#init() got called
LsReplacementsEditing.js:15 LsReplacementEditing#init() got called
LsReplacementsUI.js:15 LsReplacementUI#init() got called
LsReplacementsUI.js:15 LsReplacementUI#init() got called
en:31 GET https://cupe1978.com/survey/tmp/assets/4b7e44ea/spectrum.css net::ERR_ABORTED 404
jquery-migrate-3.1.0.min.js:2 JQMIGRATE: Migrate is installed, version 3.1.0
en:53 GET https://cupe1978.com/survey/tmp/assets/4b7e44ea/spectrum.js net::ERR_ABORTED 404
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore appendToLoad {type: "function", fn: ƒ}
lslog.js:82 AdminCore AdminCore {document: Array(11)}
lslog.js:82 AdminCore TRIGGERWARNING Document ready triggered
lslog.js:82 AdminCore saveBindings {check: "[data-submit-form]", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#save-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-close-form-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#save-and-new-question-button", on: "click", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: ".open-preview", on: "click", run: ƒ} s.fn.init [prevObject: k.fn.init(1)]
lslog.js:82 AdminCore saveBindings {check: "#in_survey_common", on: "lsStopLoading", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore saveBindings {check: "#create-import-copy-survey", on: "lsStopLoading", run: ƒ} s.fn.init {}
lslog.js:82 AdminCore ConfirmationModal calling
pjax.js:365 PJAX options {elements: Array(2), selectors: Array(4), debug: false, forceRedirectOnFail: true, reRenderCSS: true, …}
DevTools failed to load SourceMap: Could not load content for https://cupe1978.com/survey/tmp/assets/337f80ff/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://cupe1978.com/survey/tmp/assets/50538f15/pjax.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
lslog.js:82 AdminCore Triggering panel animation
|
|
|
So I'm now running 4.2.0, and I still have the problem! I figure it has be some configuration issue on the web server, but I don't see what. I did find that one .js file wasn't in a tmp/assets directory where it was supposed to be, so I copied it there - tmp/assets/faae3ca/spectrum.js. But I still get a "Source map error: Error: request failed with status 404" error (in Firefox) saying that tmp/assets/23c4679f/pjax.js isn't there, but it is! |
|
|
So, I resolved it myself, and it comes down to what I might call "user error", tongue in cheek. Nothing to do with server settings or installation. I was putting letters in the assessment value column of the answer options! It only works with numbers. I was treating it as if it was the same as the HTML select option value (rather than caption), which can handle alphanumeric values. It would be good to handle that gracefully in the red error box, and in the documentation. |
|
|
I see that "positive or negative integer value" is included in the manual on https://manual.limesurvey.org/Adding_answers_or_subquestions under "Assessment Value". |
|
We must return a better error here. |
|
|
In Version 4.3.3+200707 the default "Assessment Value" appears to be zero. The default for a new survey appears to be "assessments mode not activated" so this field should be ignored. If you turn on assessment value in the survey settings the zero becomes a valid option and the question will be saved. |
|
|
SUGGESTION: |
|
|
Fixed in 4.4.0 RC1 |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-04-23 00:03 | TomBenj | New Issue | |
| 2020-04-23 00:03 | TomBenj | File Added: LimeSurveySaveError-Edge.png | |
| 2020-04-23 00:03 | TomBenj | File Added: 2020-04-22_15-02-16.png | |
| 2020-04-23 00:03 | TomBenj | File Added: 2020-04-22_15-01-33.png | |
| 2020-04-23 00:10 | TomBenj | Note Added: 57327 | |
| 2020-04-23 00:10 | TomBenj | File Added: limesurvey_survey_624697.lss | |
| 2020-04-23 17:46 | ollehar | Priority | none => urgent |
| 2020-04-23 17:46 | ollehar | Severity | partial_block => crash |
| 2020-04-24 20:48 | cdorin | Note Added: 57364 | |
| 2020-04-24 20:49 | cdorin | Assigned To | => cdorin |
| 2020-04-24 20:49 | cdorin | Status | new => feedback |
| 2020-04-24 20:49 | cdorin | Assigned To | cdorin => |
| 2020-04-24 21:07 | TomBenj | Note Added: 57365 | |
| 2020-04-24 21:07 | TomBenj | Status | feedback => new |
| 2020-04-24 21:47 | TomBenj | Note Added: 57366 | |
| 2020-04-24 21:47 | TomBenj | File Added: cupe1978.com-1587757524939.log | |
| 2020-04-28 23:52 | TomBenj | Note Added: 57438 | |
| 2020-04-30 00:45 | TomBenj | Note Added: 57479 | |
| 2020-05-04 22:13 | TomBenj | Note Added: 57528 | |
| 2020-05-05 09:27 | DenisChenu | Note Added: 57529 | |
| 2020-07-08 14:25 | GuernseyResearch | Note Added: 58777 | |
| 2020-07-08 14:30 | GuernseyResearch | Note Added: 58778 | |
| 2020-07-09 13:41 | cdorin | Priority | urgent => normal |
| 2020-07-09 13:41 | cdorin | Severity | crash => minor |
| 2020-07-09 13:41 | cdorin | Status | new => confirmed |
| 2020-07-09 13:41 | cdorin | Zoho Sprints | => |Yes| |
| 2020-07-09 13:41 |
|
Zoho Sprints ID | => 14469000000166025 |
| 2020-12-28 15:28 | cdorin | Assigned To | => cdorin |
| 2020-12-28 15:28 | cdorin | Status | confirmed => closed |
| 2020-12-28 15:28 | cdorin | Resolution | open => fixed |
| 2020-12-28 15:28 | cdorin | Note Added: 61235 |