alexbevi / redmine_knowledgebase

A knowledgebase plugin for Redmine
452 stars 199 forks source link

Files not display when added #351

Closed jgarneau closed 1 year ago

jgarneau commented 6 years ago

Using Redmine 3.4.4, adding a file, the file name is not displayed in the files tab.

tgoshima commented 6 years ago

It is the same in my Redmine 3.4.4 environment.

gzuffo commented 6 years ago

Hello, I have the same issue here. It looses the reference, the upload is made, the server receives the file, but, the article did not get the links. Environment: Redmine version 3.4.2.stable Ruby version 2.3.4-p301 (2017-03-30) [x86_64-linux] Rails version 4.2.8 Environment production Database adapter Mysql2 SCM: Subversion 1.9.5 Git 2.7.4 Filesystem
Redmine plugins: clipboard_image_paste 1.12 easy_gantt 1.10 easy_instant_messages 2016 easy_mindmup 1.0 easy_wbs 1.5 redmine_agile 1.4.4 redmine_checklists 3.1.10 redmine_knowledgebase 3.3.1 redmine_rouge_highlighter 0.0.1 redmine_wiki_extensions 0.8.1 redmine_workload 1.1.0 redmineup_tags 2.0.1

seraph3000 commented 6 years ago

I am using Redmine 3.4.4 and knowledgebase 3.3.1. Perhaps, the "knowledgebase" plugin /plugins/redmine_knowledgebase/app/views/attachments/_links.html.erb works until Redmine 3.3, but since Redmine 3.4 the specification has changed, so _links.html.erb Does not it work as an attached file processing? I thought, and deleted or moved _links.html.erb on the plugin side, it worked.

gzuffo commented 6 years ago

seraph3000 , it has been worked! thanks man!

Mattani commented 5 years ago

seraph3000, thank you very much. I moved /redmine_knowledgebase/app/views/attachments/_links.html.erb to /redmine_knowledgebase/_links.html.erb and restarted Redmine and it worked!

r3code commented 5 years ago

The symptoms of this problem: When you edit an the knowledgebase article you see a block named "Attachments" but it looks like there some empty lines inside. So it this case files are really attached and saved to the server, but the block has been rendered wrong. @seraph3000 Thanks a lot. I 've experienced same problem with Bitnami Stack / Redmine 3.4.5.stable I find a file _links.html.erb in a folder /redmine_knowledgebase/app/views/attachments and then renamed it to _links.html.erb.bak (you can delete it). Restarted the Redmine and ISSUE has been fixed!

alexbevi commented 1 year ago

Closed via #406