Issue with Redmine 5.1.1 or redmine-x CK Editor?
Added by Christian C. 7 months ago
Hello together,
this is my first post at this forum. If I missed some information please let me know.
I upgraded our bitnami-redmine "4.2.3.stable" to bitnami-redmine "5.1.1.stable" while using a new OVA-template. All worked well. I just required to change my CKEditor-Plugin from https://github.com/a-ono/redmine_ckeditor (version 1.2.3) to the one from redmine-x (version 1.2.4). The only change seems to be the compatibility to Redmine 5.x they have added.
My issue is about the file uploading via CKEditor plugin. For compatibility reason uploaded files shouldn't contain special characters like "space". But some of our users are doing this and that worked well in the past. Now it seems to create issues. I wan't to know if this is a different behavior from Redmine in generall or that changes must come from the plugin I'm using now.
Here you can see the actual issue (your version 1.2.4):- Attachment: "upload_image_now.png"
- Some thumbnails are missing and also can't be inserted into redmine wiki page
- Attachment: "upload_image_before.png"
- All thumbnails are there
Here are two examples while uploading a new file called "Idee 3.png". The "old" Redmine and CKEditor version uses correctly "Idee%203.png" to "GET" the thumbnail. The new Redmine combined with CKEditor tries to use "Idee+3.png" what fails with "404 459".
Working way
<ServerIP> - - [26/Jan/2024:16:14:32 +0000] "-" 408 - <ServerIP> - - [26/Jan/2024:16:14:41 +0000] "POST /rich/files?authenticity_token=J4WWXtQKYJY%2FXnhGbGwi%2FpQU9gl1jCGw6%2BofL7z4RGu5XHr5ZmPFuUaUczmB2ZXEUZsbKHcjJC93Teda7K1KqQ%3D%3D&simplified_type=image&scoped=true&scope_type=Project&scope_id=1&qqfile=Idee+3.png HTTP/1.1" 200 30 <ServerIP> - - [26/Jan/2024:16:14:41 +0000] "GET /rich/files/393 HTTP/1.1" 200 344 <ServerIP> - - [26/Jan/2024:16:14:41 +0000] "GET /system/rich/rich_files/rich_files/000/000/393/rich_thumb/Idee%203.png?1706285681 HTTP/1.1" 200 8379
Not working way
<ServerIP> - - [26/Jan/2024:16:13:14 +0000] "POST /rich/files?authenticity_token=gTkFJk9VSJI6s4JREb6wRqZNtSd5xfdRx1BDKakdM9cCuVLLXDDQiS1f7%2BWSa1ZXqtDSnfwROgvx%2B%2BPn2fMqkA%3D%3D&simplified_type=image&scoped=true&scope_type=Project&scope_id=1&qqfile=Idee+3.png HTTP/1.1" 200 30 <ServerIP> - - [26/Jan/2024:16:13:15 +0000] "GET /rich/files/396 HTTP/1.1" 200 342 <ServerIP> - - [26/Jan/2024:16:13:15 +0000] "GET /system/rich/rich_files/rich_files/000/000/396/rich_thumb/Idee+3.png?1706285594 HTTP/1.1" 404 459
I'm looking for solutions :-). Thanks in advanced.
Chris
Replies (4)
RE: Issue with Redmine 5.1.1 or redmine-x CK Editor?
-
Added by Pierre DEDIEU 4 months ago
Hello
I also tried to use CKEditor on a Redmine 5.1.2 (on April the 5th 2024).
But I think I only have an old version, and when trying to download it from
https://www.redmine.org/plugins/redmine-x-ck-editor-free (it is supposed to be compable at least with Redmine 5.0.X)
Saddly the download links from this page are broken
Could you give me a valid download link ?
I also tried on a Redmine 5.0.8 docker container but
my current plugin version keeps freezing with a message
LoadError: cannot load such file -- redmine_ckeditor (LoadError)
From tour message you have at least a partially running CKEditor plugin and
if you could help me this would be great
Best regards
--
Pierre DEDIEU (Rouen)
RE: Issue with Redmine 5.1.1 or redmine-x CK Editor?
-
Added by Christian C. 4 months ago
Hi Pierre,
I tried the CKEditor from here: https://www.redmine-x.com/redminex-ck-editor-free
But yes. Never got any answer from their support team. Not anything I can suggest to use.
Chris
RE: Issue with Redmine 5.1.1 or redmine-x CK Editor?
-
Added by Jerome G. 4 months ago
I also tried https://www.redmine-x.com/redminex-ck-editor-free but it doesn't work well, especially with filenames containing special characters.
I finally gave a try to this fork of the original plugin : https://github.com/nomadli/redmine_ckeditor
Once this PR https://github.com/nomadli/redmine_ckeditor/pull/1 is applied, it works great on a dockerized 5.1.1
RE: Issue with Redmine 5.1.1 or redmine-x CK Editor?
-
Added by Christian C. 4 months ago
Jerome G. wrote in RE: Issue with Redmine 5.1.1 or redmine-x CK Editor?:
I also tried https://www.redmine-x.com/redminex-ck-editor-free but it doesn't work well, especially with filenames containing special characters.
I finally gave a try to this fork of the original plugin : https://github.com/nomadli/redmine_ckeditor
Once this PR https://github.com/nomadli/redmine_ckeditor/pull/1 is applied, it works great on a dockerized 5.1.1
Thanks Jerome for that Idea. Whenever I find some time to check, I will do. Please keep us updated when you start facing some issues.
Chris