View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18687 | Bug reports | Survey editing | public | 2023-03-16 12:06 | 2023-03-30 13:15 |
Reporter | 2BITS_PL | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | new | Resolution | open | ||
Product Version | 5.6.x | ||||
Summary | 18687: Unable to add images via CKeditor | ||||
Description | I discovered the problem during internal tests, I used the demo for verification - there the problem occurs all the time. After creating a survey with any question (I chose the default text field), after clicking on the image icon (inside CKeditor embedded inline) in the new window, when I click browse, the app tries to run the resource upload script but close automatically and then returns a permission denied message. In the local environment (on my side) I changed the CSP settings:
We also added a domain to session settings: Now in editing the question the problem does not appear. But when I add a question like "Select multiple choice image" then in subquestion edit I still get the same error with permissions. By analyzing the file: \third_party\kcfinder\core\class\browser.php (line 90) here I set this message with permissions, it enters here because the 'disabled' parameter is set to 1 - I don't know what it sets, but how it changes on 0 then everything works fine. I can't determine if it's a bug or a configuration issue. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | Version 5.4.11+221114 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | SQL Server 2019 | ||||
Server OS (if known) | Microsoft Server 2019 | ||||
Webserver software & version (if known) | |||||
PHP Version | v8.0.27 NTS x64 | ||||
User List | 2BITS_PL |
---|
Steps to repeat:
In my opinion, something is missing when adding a subquery, until the page reloads, it doesn't see it for the new subquestion, and blocks the image from being added. Worse, because triggering this lock disables this mechanism for all previous subqueries. |
|
I installed LS v5.6.13 locally to verify the issue with this version (pure instance without our dedicated plugins). Adds a new survey with a sample question created. I change the question type to "Select multiple choice image" (without saving), go to the list of sub questions, click edit and a new window opens "403, Invalid Group ID" After saving the changes, I go to edit the subquestion, still the same error message. |
|