Export to PDF Error
Added by Ahmet Demir over 4 years ago
Hi,
When we try to export an issue to pdf which including private note gives below error;
ActionView::Template::Error (can't modify frozen String): 1: <%= raw issue_to_pdf(@issue, :journals => @journals) %> lib/redmine/export/pdf/issues_pdf_helper.rb:215:in `block in issue_to_pdf' lib/redmine/export/pdf/issues_pdf_helper.rb:212:in `each' lib/redmine/export/pdf/issues_pdf_helper.rb:212:in `issue_to_pdf' app/views/issues/show.pdf.erb:1:in `_app_views_issues_show_pdf_erb___4376083027826501785_70101456999820' lib/redmine/sudo_mode.rb:65:in `sudo_mode'
My installation is below;
Environment: Redmine version 4.1.0.stable Ruby version 2.6.3-p62 (2019-04-16) [x86_64-linux] Rails version 5.2.4.1 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp
Thanks,
Ahmet
Replies (2)
RE: Export to PDF Error - Added by Mischa The Evil over 4 years ago
This was fixed in Redmine 4.1.1 via #32858.