Skip to content

[Tranga broke]: Missing Chapters if multiple Chapters have the same Number #543

@FelixFeuerigel

Description

@FelixFeuerigel

What is broken?

Some titels like Mage & Demon Queen or Yuri Anthology Dolce (Anthology) have missing chapters. The affected mangas have chapter numbers that reset for each volume and the missing chapters all have numbers that are also used in a different volume. Meaning, all chapter numbers only show up once despite being present in multiple volumes.

Based on the logs, it seems the connector does find the missing chapters, but they get removed in RetrieveMangaChaptersFromMangaconnectorWorker when the duplicate keys get removed.
I think the problem is that the volume number is not part of the key for Chapters.

Log-output

2026-01-21 17:31:26,192 [30] DEBUG API.Schema.MangaContext.MangaContext - Syncing 0 changes MangaContext Chapter CheckDownloaded Chapter-ed56a74dc034cd1ef57efe0386bc786c Vol.11 Ch.54 -  True...
2026-01-21 17:31:26,192 [22] INFO  MangaDex - Request for chapters for Yuri Anthology Dolce (Anthology) yielded 13 results.
2026-01-21 17:31:26,193 [22] DEBUG API.Workers.MangaDownloadWorkers.RetrieveMangaChaptersFromMangaconnectorWorker - Got 7 chapters from connector.
2026-01-21 17:31:26,193 [22] DEBUG API.Workers.MangaDownloadWorkers.RetrieveMangaChaptersFromMangaconnectorWorker - Got 0 new chapters.
2026-01-21 17:31:26,194 [22] DEBUG API.Workers.MangaDownloadWorkers.RetrieveMangaChaptersFromMangaconnectorWorker - Got 0 new download-Ids.

Tranga version

Additional stuff

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions