Skip to content

[Bug] RanobeDB ID is not written to file when writing metadata #207

Description

@van-geaux

What went wrong?

The new RanobeDB metadata field does not appear to be written to the book file when using Write to file button.

After writing metadata to the file, downloading the file, and importing it into a new library, the RanobeDB ID field is empty. Other metadata and provider fields are still filled correctly, but the RanobeDB ID is missing.

Clicking Load from file also does not restore the RanobeDB ID field.

Steps to reproduce

  1. Add or edit metadata for a book and fill the RanobeDB ID field.
  2. Click Write to file.
  3. Download or copy the updated book file.
  4. Import the file into a new library.
  5. Check the RanobeDB ID field.
  6. Click Load from file and check the field again.

Expected vs actual behavior

Expected behaviour:
The RanobeDB ID should be written to the book file and restored when the file is imported into another library or when Load from file is used.

Actual behaviour:
The RanobeDB ID field is empty after importing the written file into another library. It also remains empty after clicking Load from file, even though other metadata and provider fields are present.

Your setup

BookOrbit version tag: 1.8.0
Deployment: docker
OS: Debian Trixie
Browser: Firefox 151.0.2

Relevant logs (optional)

There does not appear to be any log or error message indicating that the RanobeDB metadata failed to write to the file. The write action appears to complete normally, but the RanobeDB ID is missing when the file is imported again or loaded from file.

Screenshots (optional)

No response

Before submitting

  • I've searched existing issues and this hasn't been reported yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleasedIssue or PR is included in a released version.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions