(ICECoder 8.1)
Describe the bug
When selecting text from one file and pasting it into a second (all within the editor), it appears to work; however, attempting to save the file after the copy/paste will usually, but not always, fail to save.
To Reproduce
Steps to reproduce the behavior:
Open two files in code editor
Select some code in the first page and copy with CTRL + C
Past the code into second page using CTRL + V
Save the code in the second page
Usually produces error: Sorry but there was an error with your request. Please check your dev tools console for more info.
Clicking on the first error produces:
{ "file": { "absPath": "", "relPath": "/", "name": "", "path": "", "bytes": "", "modifiedDT": "1000000", "type": "unknown", "exists": false }, "action": { "initial" : "save", "final" : "nothing", "timeStart": 0, "timeEnd": 0, "timeTaken": 0, "csrf": "e945203a4621ae54db2ec5492e7d6c9c", "doNext" : "ICEcoder.switchMode();" }, "status": { "error" : true, "errorStr" : "true", "errorMsg" : "Sorry, bad filename provided. Check the dev tools console for more info?" } }
Clicking the 2nd error takes me to the editors \asseets\index page line 3695.
This does not always happen but happens more than 50% of the time. This forces me to make sure I save before pasting code so I do not lose my work.
If just creating or editing a page, without pasting anything, the page always saves with no problems.
Browser & Server (please complete the following information):
Browser: Chrom on chromebook and Firefox on MX linux.
Server: I am not sure how to determine this. My pages are on DreamHost,
I do have access to the site via terminal so if you need me to run any commands, please just list them step by step. Although I have done some programming in the past as a hobby, am by no means an expert and at this point, would not consider myself a very experienced user.
Here is an example of the code I just tried to paste and caused the problem:
`
After doing more research, I found (I can't remember where) that I was receiving a status 418 error from the server. Searching this on google revealed that this was due to the extra security feature on dream host.
After turning off the extra security feature on DreamHost, the copy/paste is now working. This also solved another problem where I was not able to save changes made in settings.
I am leaving this up so that if anyone else experiences the same problem, they can find the solution. If it needs to be moved somewhere else, and you are able to, please do so.
Thank you for all your hard work and for such a great editor.
(ICECoder 8.1) Describe the bug When selecting text from one file and pasting it into a second (all within the editor), it appears to work; however, attempting to save the file after the copy/paste will usually, but not always, fail to save.
To Reproduce Steps to reproduce the behavior:
Clicking on the first error produces: { "file": { "absPath": "", "relPath": "/", "name": "", "path": "", "bytes": "", "modifiedDT": "1000000", "type": "unknown", "exists": false }, "action": { "initial" : "save", "final" : "nothing", "timeStart": 0, "timeEnd": 0, "timeTaken": 0, "csrf": "e945203a4621ae54db2ec5492e7d6c9c", "doNext" : "ICEcoder.switchMode();" }, "status": { "error" : true, "errorStr" : "true", "errorMsg" : "Sorry, bad filename provided. Check the dev tools console for more info?" } }
Clicking the 2nd error takes me to the editors \asseets\index page line 3695.
This does not always happen but happens more than 50% of the time. This forces me to make sure I save before pasting code so I do not lose my work.
If just creating or editing a page, without pasting anything, the page always saves with no problems.
Browser & Server (please complete the following information):
I do have access to the site via terminal so if you need me to run any commands, please just list them step by step. Although I have done some programming in the past as a hobby, am by no means an expert and at this point, would not consider myself a very experienced user.
Here is an example of the code I just tried to paste and caused the problem: `
Sign Up
After doing more research, I found (I can't remember where) that I was receiving a status 418 error from the server. Searching this on google revealed that this was due to the extra security feature on dream host.
https://stackoverflow.com/questions/52340027/is-418-im-a-teapot-really-an-http-response-code
After turning off the extra security feature on DreamHost, the copy/paste is now working. This also solved another problem where I was not able to save changes made in settings.
I am leaving this up so that if anyone else experiences the same problem, they can find the solution. If it needs to be moved somewhere else, and you are able to, please do so.
Thank you for all your hard work and for such a great editor.
No probs and thanks for the update - that will help people searching here - I'll likely look to add this to https://icecoder.net/issues also.