View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 19943 | Bug reports | Other | public | 2025-01-27 08:19 | 2025-01-29 10:21 |
| Reporter | sdsAdm1n | Assigned To | tibor.pacalat | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 6.6.x | ||||
| Summary | 19943: Can’t save the java script code in survey | ||||
| Description | Hi, | ||||
| Steps To Reproduce | Steps to reproduce(Replace this text with detailed step-by-step instructions on how to reproduce the issue) Expected result(Write here what you expected to happen) Actual result(Write here what happened instead) | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | LimeSurvey Community Edition Version 6.8.1+241120 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | chrome | ||||
| Database type & version | SQL server 2016 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.0.30 | ||||
|
Did you test with the 1st user ? Super Admin ? |
|
|
If I am a superadmin, I can add script to the question and also import question with the script successfully. If I am an admin user with, let's say, survey permissions then I can not add script and also when I import a question with javascript in it, it is imported without javascript. That is correct behaviour. |
|
|
Many thanks. It is working fine. but why the user should be Super Admin to do the JS copy. |
|
|
Because of security. If superadmin wants to give this permission to lower admins they can. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-01-27 08:19 | sdsAdm1n | New Issue | |
| 2025-01-27 08:19 | sdsAdm1n | File Added: New LimeSurvey Testing Report (003).docx | |
| 2025-01-27 08:24 | DenisChenu | Note Added: 81900 | |
| 2025-01-27 08:24 | DenisChenu | Bug heat | 0 => 2 |
| 2025-01-27 11:32 | tibor.pacalat | Note Added: 81907 | |
| 2025-01-27 11:32 | tibor.pacalat | Bug heat | 2 => 4 |
| 2025-01-27 11:32 | tibor.pacalat | Assigned To | => tibor.pacalat |
| 2025-01-27 11:32 | tibor.pacalat | Status | new => feedback |
| 2025-01-28 06:25 | sdsAdm1n | Note Added: 81915 | |
| 2025-01-28 06:25 | sdsAdm1n | Bug heat | 4 => 6 |
| 2025-01-28 06:25 | sdsAdm1n | Status | feedback => assigned |
| 2025-01-29 10:21 | tibor.pacalat | Note Added: 81919 | |
| 2025-01-29 10:21 | tibor.pacalat | Status | assigned => closed |
| 2025-01-29 10:21 | tibor.pacalat | Resolution | open => no change required |