Glagan / SyncDex

Automatically sync what you read on MangaDex across many services like MyAnimeList, Anilist, Kitsu and more.
Mozilla Public License 2.0
46 stars 0 forks source link

[BUG] Chapter not updated if no service #20

Closed cpiber closed 3 years ago

cpiber commented 3 years ago

Describe the bug Updating does not work if no service is found.

To Reproduce Steps to reproduce the behavior:

  1. Take a new manga like https://mangadex.org/title/58870/my-butler-not-lover
  2. Open chapter

Expected behavior (optional) Simply update the internal database

Screenshots image image

Browser Firefox 84.0

Additional context A notification "No chapter found" (would be more appropriate "No service found") is shown, as well as an update with no service listed. No update is actually performed.

Glagan commented 3 years ago

This is not related to services, this chapter does not have a "valid" chapter value, it's an empty string, SyncDex can't find it and it need to be fixed in MangaDex.
But, it's in the chapter name so I will add a fallback to find the progress in the chapter name.

cpiber commented 3 years ago

Oh, you're right, I didn't notice that