Public bug reported:
Ubuntu Server 20.04.1 LTS
Redmine package 4.0.6-2
Details of redmine environment (all standard 20.04 packages, fully
updated):
Environment:
Redmine version 4.0.6.stable
Ruby version 2.7.0-p0 (2019-12-25) [x86_64-linux-gnu]
Rails version 5.2.3
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery sendmail
SCM:
Subversion 1.13.0
Git 2.25.1
Filesystem
Redmine plugins:
no plugin installed
Issue:
With Redmine setting for issue export limit set sufficiently large
(500), exporting of selected issues with number of issues ~ >50 crashes
for CSV export. PDF export works.
---
UI returns:
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine
administrator for assistance.
If you are the Redmine administrator, check your log files for details
about the error.
---
Relevant area of /var/log/redmine/default/production.log below
Started GET
"/redmine/projects/e2/issues.csv?utf8=%E2%9C%93&set_filter=1&f%5B%5D=fixed_version_id&op%5Bfixed_version_id%5D=%3D&v%5Bfixed_version_id%5D%5B%5D=37&f%5B%5D=status_id&op%5Bstatus_id%5D=%3D&v%5Bstatus_id%5D%5B%5D=1&v%5Bstatus_id%5D%5B%5D=2&v%5Bstatus_id%5D%5B%5D=4&f%5B%5D=category_id&op%5Bcategory_id%5D=%21&v%5Bcategory_id%5D%5B%5D=21&c%5B%5D=id&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=priority&c%5B%5D=cf_1&c%5B%5D=subject&c%5B%5D=assigned_to&c%5B%5D=updated_on&c%5B%5D=cf_6&c%5B%5D=cf_3&c%5B%5D=estimated_hours&sort=id%3Adesc&c%5B%5D=&encoding=ISO-8859-1"
for 10.34.26.19 at 2020-11-03 07:53:21 -0800
Processing by IssuesController#index as CSV
Parameters: {"utf8"=>"✓", "set_filter"=>"1", "f"=>["fixed_version_id",
"status_id", "category_id"], "op"=>{"fixed_version_id"=>"=", "status_id"=>"=",
"category_id"=>"!"}, "v"=>{"fixed_version_id"=>["37"], "status_id"=>["1", "2",
"4"], "category_id"=>["21"]}, "c"=>["id", "tracker", "status", "priority",
"cf_1", "subject", "assigned_to", "updated_on", "cf_6", "cf_3",
"estimated_hours", ""], "sort"=>"id:desc", "encoding"=>"ISO-8859-1",
"project_id"=>"e2"}
Current user: mlet (id=3)
Completed 500 Internal Server Error in 82ms (ActiveRecord: 17.6ms)
FrozenError (can't modify frozen String: ""):
lib/redmine/codeset_util.rb:59:in `force_encoding'
lib/redmine/codeset_util.rb:59:in `from_utf8'
lib/redmine/export/csv.rb:52:in `block in <<'
lib/redmine/export/csv.rb:49:in `map'
lib/redmine/export/csv.rb:49:in `<<'
app/helpers/queries_helper.rb:283:in `block (2 levels) in query_to_csv'
app/helpers/queries_helper.rb:282:in `each'
app/helpers/queries_helper.rb:282:in `block in query_to_csv'
lib/redmine/export/csv.rb:44:in `generate'
lib/redmine/export/csv.rb:26:in `generate'
app/helpers/queries_helper.rb:278:in `query_to_csv'
app/controllers/issues_controller.rb:67:in `block (2 levels) in index'
app/controllers/issues_controller.rb:47:in `index'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
--
Only thought from googling around is problems with this version of redmine and
ruby 2.7 support?
Is it possible to backport ruby 2.7 support from redmine 4.2?
** Affects: redmine (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902763
Title:
CSV export of issues crash
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redmine/+bug/1902763/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs