Project

General

Profile

Actions

Defect #24344

closed

Cannot upload file on an issue

Added by Aniss El Amrani over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I got an error message while trying to upload a file into a redmine issue.
I had this in the log file:

----------------------------------
ActionView::Template::Error (5000540775 is out of range for ActiveRecord::Type::Integer with limit 4):
1: <%= "(#{l(:field_private_notes)}) " if @journal.private_notes? -><= l(:text_issue_updated, :id => "##{@issue.id}", :author => @journal.user) >
2:
3: <
details_to_strings(@journal_details, true).each do |string| ->
4: <
= string >
5: <
end -%>
6:
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:167:in `call_hook'
app/helpers/issues_helper.rb:403:in `show_detail'
app/helpers/issues_helper.rb:321:in `block in details_to_strings'
app/helpers/issues_helper.rb:307:in `each'
app/helpers/issues_helper.rb:307:in `details_to_strings'
app/views/mailer/issue_edit.text.erb:3:in `_app_views_mailer_issue_edit_text_erb__1167367905_73751580'
app/models/mailer.rb:435:in `block in mail'
app/models/mailer.rb:434:in `mail'
app/models/mailer.rb:83:in `issue_edit'
app/models/mailer.rb:447:in `initialize'
config/initializers/10-patches.rb:154:in `deliver'
app/models/mailer.rb:95:in `block (2 levels) in deliver_issue_edit'
app/models/issue.rb:891:in `each_notification'
app/models/mailer.rb:94:in `block in deliver_issue_edit'
app/models/journal.rb:90:in `block in each_notification'
app/models/journal.rb:88:in `each'
app/models/journal.rb:88:in `each_notification'
app/models/mailer.rb:93:in `deliver_issue_edit'
app/models/journal.rb:302:in `send_notification'
app/models/journal.rb:67:in `save'
app/models/issue.rb:1566:in `create_journal'
app/models/issue.rb:175:in `create_or_update'
app/controllers/issues_controller.rb:482:in `block in save_issue_with_child_records'
app/controllers/issues_controller.rb:470:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:180:in `update'


The file I tried to upload was named 5000540775.HTM.
I had to rename the file to FILE5000540775.HTM to be able to upload it.

Thanks in advance.

Regards,

Aniss

Actions #1

Updated by Toshi MARUYAMA over 7 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Redmine 3.0.7 is not maintained and I cannot reproduce on vanilla 3.3.1.

Actions #2

Updated by Aniss El Amrani over 7 years ago

  • File 500000125225544.txt added
Actions #3

Updated by Aniss El Amrani over 7 years ago

Ok,

It will try to upgrade my Redmine version.

Thanks for your help.

Regards,

Aniss

Actions #4

Updated by Toshi MARUYAMA over 7 years ago

  • File deleted (500000125225544.txt)
Actions #5

Updated by Toshi MARUYAMA over 7 years ago

  • Category deleted (Attachments)
Actions

Also available in: Atom PDF