You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2020/11/26 08:41:00 UTC
[jira] [Commented] (JAMES-3456) Inconsistent encoding handling in
non utf8 env
[ https://issues.apache.org/jira/browse/JAMES-3456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239118#comment-17239118 ]
Benoit Tellier commented on JAMES-3456:
---------------------------------------
Trying to enforce CI on jenkins 'in a non utf-8 environment' yields its first benefits.
Would you have the time to fire a patch for this?
> Inconsistent encoding handling in non utf8 env
> ----------------------------------------------
>
> Key: JAMES-3456
> URL: https://issues.apache.org/jira/browse/JAMES-3456
> Project: James Server
> Issue Type: Bug
> Environment: https://builds.apache.org/job/james/job/ApacheJames/view/change-requests/job/PR-265/3
> default jenkins platform encoding (which seems to be non utf8)
> Reporter: Jean Helou
> Priority: Major
> Attachments: consoleText.txt
>
>
> Trying to enforce CI on jenkins yields its first benefits :)
> {code:java}
> [ERROR] Failures:
> [ERROR] StripAttachmentTest.serviceShouldDecodeFilenameAndSaveAttachmentInAFolderWhenPatternMatchAndDecodeFilenameTrue:248->lambda$serviceShouldDecodeFilenameAndSaveAttachmentInAFolderWhenPatternMatchAndDecodeFilenameTrue$4:255
> File:
> </tmp/1606343586236-0/e_Pubblicita_e_vietata_Milano90524552757269241733277.tmp>
> read with charset <ISO-8859-1> does not have the expected content:
> Changed content at line 1:
> expecting:
> ["#¤ãàé"]
> but was:
> ["#¤ãà é"]
> [ERROR] StripAttachmentTest.serviceShouldSaveAttachmentInAFolderWhenNotPatternDoesntMatch:211->lambda$serviceShouldSaveAttachmentInAFolderWhenNotPatternDoesntMatch$2:216
> File:
> </tmp/1606343586278-0/temp_filname8490039664328963043.tmp>
> read with charset <ISO-8859-1> does not have the expected content:
> Changed content at line 1:
> expecting:
> ["#¤ãàé"]
> but was:
> ["#¤ãà é"]
> [ERROR] StripAttachmentTest.serviceShouldSaveAttachmentInAFolderWhenPatternMatch:137->lambda$serviceShouldSaveAttachmentInAFolderWhenPatternMatch$0:141
> File:
> </tmp/1606343585769-0/_107182230883202862024.tmp>
> read with charset <ISO-8859-1> does not have the expected content:
> Changed content at line 1:
> expecting:
> ["#¤ãàé"]
> but was:
> ["#¤ãà é"]
> [INFO]
> [ERROR] Tests run: 1569, Failures: 3, Errors: 0, Skipped: 0
> {code}
> The tests of at least one module have failed because of inconsistent encoding handling.
> A possible source for the error could be
> src/main/java/org/apache/james/core/builder/MimeMessageBuilder.java:387
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org