Project

General

Profile

Actions

Defect #38100

closed

Ruby 3.2: Encoding::CompatibilityError when running ChangesetTest#test_invalid_utf8_sequences_in_comments_should_be_replaced_latin1

Added by Go MAEDA over 1 year ago. Updated over 1 year ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Error:
ChangesetTest#test_invalid_utf8_sequences_in_comments_should_be_replaced_latin1:
Encoding::CompatibilityError: invalid byte sequence in UTF-8
    app/models/changeset.rb:299:in `strip'
    app/models/changeset.rb:299:in `normalize_comments'
    app/models/changeset.rb:104:in `before_create_cs'
    test/unit/changeset_test.rb:533:in `test_invalid_utf8_sequences_in_comments_should_be_replaced_latin1'

rails test test/unit/changeset_test.rb:517

Files

38100.patch (494 Bytes) 38100.patch Go MAEDA, 2022-12-24 09:32

Related issues

Related to Redmine - Feature #38099: Add Ruby 3.2 supportClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA over 1 year ago

Actions #2

Updated by Go MAEDA over 1 year ago

The attached patch fixes the issue.

Actions #3

Updated by Go MAEDA over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix as a part of #38099.

Actions

Also available in: Atom PDF