Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1181

Captain Hook fails to send email when diff contains UTF-8 data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Captain Hook

      Description

      Follogin payload fails to send email with a UnidecodeError.

      {
        "ref": "refs/heads/feature-NXP-19719-integrate-pdf-utils",
        "before": "a62edd8d2693bd4d1fcb0282ed58454005aff00f",
        "after": "cb0e3fd313d80f6611d4d8868ec4c304cb6df8b7",
        "created": false,
        "deleted": false,
        "forced": false,
        "base_ref": null,
        "compare": "https://github.com/nuxeo/nuxeo/compare/a62edd8d2693...cb0e3fd313d8",
        "commits": [
          {
            "id": "cb0e3fd313d80f6611d4d8868ec4c304cb6df8b7",
            "tree_id": "b1ce4dbbb1d2cc8000e560307e1a5fcd36bcabc3",
            "distinct": true,
            "message": "NXP-19719: Add tests for the PDF utils operations",
            "timestamp": "2016-07-21T18:50:32+01:00",
            "url": "https://github.com/nuxeo/nuxeo/commit/cb0e3fd313d80f6611d4d8868ec4c304cb6df8b7",
            "author": {
              "name": "miguel",
              "email": "mnixo@nuxeo.com",
              "username": "mnixo"
            },
            "committer": {
              "name": "miguel",
              "email": "mnixo@nuxeo.com",
              "username": "mnixo"
            },
            "added": [
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFEncryptionTest.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFInfoTest.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFLinksTest.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFMergeTests.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFPageExtractorTest.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFPageNumberingTest.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFTextExtractorTest.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFUtilsTest.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFWatermarkingTest.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/TestUtils.java",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/contract.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/document-encrypted.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/document-protected.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/document.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/linked-pdf-1.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/linked-pdf-2.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/linked-pdf/linked-pdf-3.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/logo.jpg",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/logo.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/logo.png",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/merge-1.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/merge-2.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/merge-3.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/picture.jpg",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/pictures.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/transcript.pdf",
              "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/xmp-embedded.pdf"
            ],
            "removed": [
      
            ],
            "modified": [
              "nuxeo-features/nuxeo-platform-pdf-utils/pom.xml"
            ]
          }
        ],
        "head_commit": {
          "id": "cb0e3fd313d80f6611d4d8868ec4c304cb6df8b7",
          "tree_id": "b1ce4dbbb1d2cc8000e560307e1a5fcd36bcabc3",
          "distinct": true,
          "message": "NXP-19719: Add tests for the PDF utils operations",
          "timestamp": "2016-07-21T18:50:32+01:00",
          "url": "https://github.com/nuxeo/nuxeo/commit/cb0e3fd313d80f6611d4d8868ec4c304cb6df8b7",
          "author": {
            "name": "miguel",
            "email": "mnixo@nuxeo.com",
            "username": "mnixo"
          },
          "committer": {
            "name": "miguel",
            "email": "mnixo@nuxeo.com",
            "username": "mnixo"
          },
          "added": [
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFEncryptionTest.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFInfoTest.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFLinksTest.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFMergeTests.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFPageExtractorTest.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFPageNumberingTest.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFTextExtractorTest.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFUtilsTest.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/PDFWatermarkingTest.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/java/org/nuxeo/ecm/platform/pdf/tests/TestUtils.java",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/contract.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/document-encrypted.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/document-protected.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/document.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/linked-pdf-1.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/linked-pdf-2.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/linked-pdf/linked-pdf-3.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/logo.jpg",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/logo.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/logo.png",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/merge-1.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/merge-2.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/merge-3.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/picture.jpg",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/pictures.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/transcript.pdf",
            "nuxeo-features/nuxeo-platform-pdf-utils/src/test/resources/files/xmp-embedded.pdf"
          ],
          "removed": [
      
          ],
          "modified": [
            "nuxeo-features/nuxeo-platform-pdf-utils/pom.xml"
          ]
        },
        "repository": {
          "id": 2988101,
          "name": "nuxeo",
          "full_name": "nuxeo/nuxeo",
          "owner": {
            "name": "nuxeo",
            "email": "contact@nuxeo.com"
          },
          "private": false,
          "html_url": "https://github.com/nuxeo/nuxeo",
          "description": "Content management platform to build modern business applications",
          "fork": false,
          "url": "https://github.com/nuxeo/nuxeo",
          "forks_url": "https://api.github.com/repos/nuxeo/nuxeo/forks",
          "keys_url": "https://api.github.com/repos/nuxeo/nuxeo/keys{/key_id}",
          "collaborators_url": "https://api.github.com/repos/nuxeo/nuxeo/collaborators{/collaborator}",
          "teams_url": "https://api.github.com/repos/nuxeo/nuxeo/teams",
          "hooks_url": "https://api.github.com/repos/nuxeo/nuxeo/hooks",
          "issue_events_url": "https://api.github.com/repos/nuxeo/nuxeo/issues/events{/number}",
          "events_url": "https://api.github.com/repos/nuxeo/nuxeo/events",
          "assignees_url": "https://api.github.com/repos/nuxeo/nuxeo/assignees{/user}",
          "branches_url": "https://api.github.com/repos/nuxeo/nuxeo/branches{/branch}",
          "tags_url": "https://api.github.com/repos/nuxeo/nuxeo/tags",
          "blobs_url": "https://api.github.com/repos/nuxeo/nuxeo/git/blobs{/sha}",
          "git_tags_url": "https://api.github.com/repos/nuxeo/nuxeo/git/tags{/sha}",
          "git_refs_url": "https://api.github.com/repos/nuxeo/nuxeo/git/refs{/sha}",
          "trees_url": "https://api.github.com/repos/nuxeo/nuxeo/git/trees{/sha}",
          "statuses_url": "https://api.github.com/repos/nuxeo/nuxeo/statuses/{sha}",
          "languages_url": "https://api.github.com/repos/nuxeo/nuxeo/languages",
          "stargazers_url": "https://api.github.com/repos/nuxeo/nuxeo/stargazers",
          "contributors_url": "https://api.github.com/repos/nuxeo/nuxeo/contributors",
          "subscribers_url": "https://api.github.com/repos/nuxeo/nuxeo/subscribers",
          "subscription_url": "https://api.github.com/repos/nuxeo/nuxeo/subscription",
          "commits_url": "https://api.github.com/repos/nuxeo/nuxeo/commits{/sha}",
          "git_commits_url": "https://api.github.com/repos/nuxeo/nuxeo/git/commits{/sha}",
          "comments_url": "https://api.github.com/repos/nuxeo/nuxeo/comments{/number}",
          "issue_comment_url": "https://api.github.com/repos/nuxeo/nuxeo/issues/comments{/number}",
          "contents_url": "https://api.github.com/repos/nuxeo/nuxeo/contents/{+path}",
          "compare_url": "https://api.github.com/repos/nuxeo/nuxeo/compare/{base}...{head}",
          "merges_url": "https://api.github.com/repos/nuxeo/nuxeo/merges",
          "archive_url": "https://api.github.com/repos/nuxeo/nuxeo/{archive_format}{/ref}",
          "downloads_url": "https://api.github.com/repos/nuxeo/nuxeo/downloads",
          "issues_url": "https://api.github.com/repos/nuxeo/nuxeo/issues{/number}",
          "pulls_url": "https://api.github.com/repos/nuxeo/nuxeo/pulls{/number}",
          "milestones_url": "https://api.github.com/repos/nuxeo/nuxeo/milestones{/number}",
          "notifications_url": "https://api.github.com/repos/nuxeo/nuxeo/notifications{?since,all,participating}",
          "labels_url": "https://api.github.com/repos/nuxeo/nuxeo/labels{/name}",
          "releases_url": "https://api.github.com/repos/nuxeo/nuxeo/releases{/id}",
          "deployments_url": "https://api.github.com/repos/nuxeo/nuxeo/deployments",
          "created_at": 1323959741,
          "updated_at": "2016-07-15T02:00:07Z",
          "pushed_at": 1469123440,
          "git_url": "git://github.com/nuxeo/nuxeo.git",
          "ssh_url": "git@github.com:nuxeo/nuxeo.git",
          "clone_url": "https://github.com/nuxeo/nuxeo.git",
          "svn_url": "https://github.com/nuxeo/nuxeo",
          "homepage": "http://www.nuxeo.com",
          "size": 241885,
          "stargazers_count": 110,
          "watchers_count": 110,
          "language": "Java",
          "has_issues": false,
          "has_downloads": true,
          "has_wiki": false,
          "has_pages": false,
          "forks_count": 83,
          "mirror_url": null,
          "open_issues_count": 8,
          "forks": 83,
          "open_issues": 8,
          "watchers": 110,
          "default_branch": "master",
          "stargazers": 110,
          "master_branch": "master",
          "organization": "nuxeo"
        },
        "pusher": {
          "name": "mnixo",
          "email": "mnixo@users.noreply.github.com"
        },
        "organization": {
          "login": "nuxeo",
          "id": 460607,
          "url": "https://api.github.com/orgs/nuxeo",
          "repos_url": "https://api.github.com/orgs/nuxeo/repos",
          "events_url": "https://api.github.com/orgs/nuxeo/events",
          "hooks_url": "https://api.github.com/orgs/nuxeo/hooks",
          "issues_url": "https://api.github.com/orgs/nuxeo/issues",
          "members_url": "https://api.github.com/orgs/nuxeo/members{/member}",
          "public_members_url": "https://api.github.com/orgs/nuxeo/public_members{/member}",
          "avatar_url": "https://avatars.githubusercontent.com/u/460607?v=3",
          "description": "Content Management Platform for Modern Business Applications"
        },
        "sender": {
          "login": "mnixo",
          "id": 4223240,
          "avatar_url": "https://avatars.githubusercontent.com/u/4223240?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/mnixo",
          "html_url": "https://github.com/mnixo",
          "followers_url": "https://api.github.com/users/mnixo/followers",
          "following_url": "https://api.github.com/users/mnixo/following{/other_user}",
          "gists_url": "https://api.github.com/users/mnixo/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/mnixo/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/mnixo/subscriptions",
          "organizations_url": "https://api.github.com/users/mnixo/orgs",
          "repos_url": "https://api.github.com/users/mnixo/repos",
          "events_url": "https://api.github.com/users/mnixo/events{/privacy}",
          "received_events_url": "https://api.github.com/users/mnixo/received_events",
          "type": "User",
          "site_admin": false
        }
      }

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: