View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
16305Bug reportsSurvey editingpublic2020-12-23 11:18
Reporterong Assigned Tocdorin  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version4.2.2 
Summary16305: uploading image with same name produces unclear error
Description

When I create a question and upload an image (example.jpg) to be used in the description it works.
Then I am creating a new question and I want to use the same image again. So I click on ad image in the editor, select the same (!) excample.png then the error (see screenshot) occurs.
I suppose it's because a file with that name already exists.
(yes, I know, I can use the one uploaded already)

Steps To Reproduce

see description

Additional Information

I am also attaching the anonymized console log of that error (cleared log before)

Tagsdouble name, image, image upload
Attached Files
console.log (1,358 bytes)   
DevTools failed to load SourceMap: Could not load content for https://something.de/tmp/assets/2199913e/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
LSFileUploadAdapter.js:53 ProgressEvent {isTrusted: true, lengthComputable: true, loaded: 50054, total: 50054, type: "progress", …}
jquery-3.4.1.min.js:2 POST https://something.de/index.php/admin/filemanager/sa/uploadFile 403 (Forbidden)
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
(anonymous) @ imageuploadediting.js:403
Promise.then (async)
value @ imageuploadediting.js:403
(anonymous) @ filerepository.js:41
Promise.then (async)
value @ filerepository.js:41
(anonymous) @ imageuploadcommand.js:131
Promise.then (async)
value @ imageuploadcommand.js:131
(anonymous) @ imageuploadcommand.js:131
fire @ uid.js:25
value @ unicode.js:67
value @ selection-post-fixer.js:279
value @ selection-post-fixer.js:279
value @ imageuploadprogress.js:331
(anonymous) @ element.js:1261
fire @ uid.js:25
<computed> @ element.js:1261
value @ commandcollection.js:23
value @ keystrokehandler.js:46
(anonymous) @ utils.js:102
fire @ uid.js:25
tu @ uid.js:25
fire @ uid.js:25
(anonymous) @ widgettoolbarrepository.js:352
i @ viewcollection.js:331
fire @ uid.js:25
r @ emittermixin.js:263
console.log (1,358 bytes)   
doubleimage.png (100,566 bytes)
Bug heat4
Complete LimeSurvey version number (& build)4.2.3+200511
I will donate to the project if issue is resolvedNo
Browservivaldi & chromium
Database type & versionmysql 8.0.18
Server OS (if known)debian
Webserver software & version (if known)apache2
PHP Version7.something

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2020-05-25 10:18

administrator   ~58009

Possibly solved by revert file manager and ckeditor to LS3 version.

cdorin

cdorin

2020-12-23 11:18

reporter   ~61072

Solved in 4.4.0 RC1

Issue History

Date Modified Username Field Change
2020-05-19 07:50 ong New Issue
2020-05-19 07:50 ong File Added: console.log
2020-05-19 07:50 ong File Added: doubleimage.png
2020-05-19 07:54 ong Tag Attached: image
2020-05-19 07:54 ong Tag Attached: image upload
2020-05-19 07:54 ong Tag Attached: double name
2020-05-25 10:18 ollehar Note Added: 58009
2020-05-25 10:18 ollehar Priority none => normal
2020-05-25 10:18 ollehar Description Updated
2020-12-23 11:18 cdorin Assigned To => cdorin
2020-12-23 11:18 cdorin Status new => closed
2020-12-23 11:18 cdorin Resolution open => fixed
2020-12-23 11:18 cdorin Note Added: 61072