Skip to content

[Bug]: preserve every mixed MIME body section #50412

Backlog

Description

@Afloat16

Where were you using Orca?

Other

Operating system

Linux

Remote host operating system

None

Orca version

1.4.214 source checkout at d9348ff

Details

Problem

Gmail text extraction globally prefers any plain part, dropping independent HTML-only sections from multipart/mixed messages.

Reproduction

Source checkout d9348ff (1.4.214), Linux x64 / Node24.22.3.

Read a mixed body with First section in a plain alternative and Second section in a separate HTML part. Also test a related HTML representation containing a plain-text CID resource and an explicit start root.

Actual: The second mixed body section is lost. Related resources can incorrectly participate in body text selection.

Expected / verified fix: Both base-failing MIME regressions pass: exact First section / Second section order, preferred plain alternative preserved, related root respected and attachments excluded.

Affected production path

Gmail read/search message conversion uses bodyText from the actual Gmail message payload parser.

This is a production-module reproduction; platform/application testing limits are recorded in the linked fix.

Activity

  1. added
    bug
    on Nov 27, 2026
  2. added theissue type on Nov 27, 2026
  3. added
    os:linux
    on Nov 27, 2026
  4. AmethystLiang commented on Nov 27, 2026

    @AmethystLiang
    Contributor

    Thanks for reporting. We’re looking into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugos:linux

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions