Open choiss7 opened 1 year ago
Hello,
Still have the exact same error even after the commits made by @nomadli ..
any suggestions please ?
Hello, Same for me, has anyone found the solution? Thanks
Sorry everyone, I am a C & golang programmer and I am not familiar with Ruby and do not intend to learn this language. I have only used these plugins in my team, so I cannot invest too much time in fixing these issues.
Sorry everyone, I am a C & golang programmer and I am not familiar with Ruby and do not intend to learn this language. I have only used these plugins in my team, so I cannot invest too much time in fixing these issues.
No worries of course, I understand, I'am not a good programmer but i'am going to try to fix it, i'll come back here if i find something
Sorry everyone, I am a C & golang programmer and I am not familiar with Ruby and do not intend to learn this language. I have only used these plugins in my team, so I cannot invest too much time in fixing these issues.
No worries of course, I understand, I'am not a good programmer but i'am going to try to fix it, i'll come back here if i find something
Try use clone from This
Hello ..
i upgrade redmine 5.0 and installed plugin redmin_ckeditor 1.2.4
it works well , but click and error 'browse and upload images icon' when i tried upload images ..
please check this ...
I, [2022-10-30T07:28:23.424614 #195725] INFO -- : [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] Started GET "/rich/files/?CKEditor=project_description&CKEditorFuncNum=2&default_style=original&allowed_styles=thumb%2Crich_thumb%2Coriginal&insert_many=false&type=image&scoped=true&scope_type=Project&scope_id=277&viewMode=grid" for 192.168.219.1 at 2022-10-30 07:28:23 +0000 I, [2022-10-30T07:28:23.428100 #195725] INFO -- : [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] Processing by Rich::FilesController#index as HTML I, [2022-10-30T07:28:23.428350 #195725] INFO -- : [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] Parameters: {"CKEditor"=>"project_description", "CKEditorFuncNum"=>"2", "default_style"=>"original", "allowed_styles"=>"thumb,rich_thumb,original", "insert_many"=>"false", "type"=>"image", "scoped"=>"true", "scope_type"=>"Project", "scope_id"=>"277", "viewMode"=>"grid"} I, [2022-10-30T07:28:23.477959 #195725] INFO -- : [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] Current user: choiss (id=3) I, [2022-10-30T07:28:23.495447 #195725] INFO -- : [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] Rendered /opt/bitnami/ruby/lib/ruby/gems/3.0.0/bundler/gems/rich-331110a2a539/app/views/rich/files/index.html.erb within layouts/rich/application (Duration: 12.6ms | Allocations: 2037) I, [2022-10-30T07:28:23.495734 #195725] INFO -- : [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] Rendered layout plugins/redmine_ckeditor/app/views/layouts/rich/application.html.erb (Duration: 13.0ms | Allocations: 2063) I, [2022-10-30T07:28:23.496290 #195725] INFO -- : [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] Completed 500 Internal Server Error in 68ms (ActiveRecord: 40.4ms | Allocations: 4071) F, [2022-10-30T07:28:23.499018 #195725] FATAL -- : [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f]
[0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] ActionView::Template::Error (undefined method
escape' for URI:Module): [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] 1: <li class="clickable"> [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] 2: <img id="file<%= file.id %>" [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] 3: src="<%= thumb_for_file(file) %>" [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] 4: data-uris="<%= file.uri_cache %>" [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] 5: data-relative-url-root="<%= Redmine::Utils.relative_url_root %>" [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] 6: data-rich-asset-id="<%= file.id %>" [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] plugins/redmine_ckeditor/lib/redmine_ckeditor/rich_files_helper_patch.rb:5:in
thumb_for_file' [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] plugins/redmine_ckeditor/app/views/rich/files/_file.html.erb:3 [0e8a5a8a-2a54-40c6-a0b4-5372ac66701f] lib/redmine/sudo_mode.rb:61:in `sudo_mode'