Skip to content

Large volume values from ComicInfo.xml breaks the importing process. #2303

@mcpierce

Description

@mcpierce

Describe The Bug
When importing comics, there is no validation of the volume loaded from an existing ComicInfo.xml file. If the value is longer than 4 characters, then the overall import process breaks.

To Reproduce The Bug
Steps to reproduce the behavior. Please be as complete as possible and describe the exact steps and values used to cause the error:

  1. Find a comic with a long (more than 4 character) volume.
  2. Import the comic.
  3. The processing fails when trying to insert the changes into the database.

Expected Behavior

  1. The excess character should be trimmed.

Operating System
Where is ComiXed running?

  • Windows
  • Linux (any distro)
  • MacOS
  • Docker

Database
What database is ComiXed using?

  • Postgres
  • MySQL/MariahDB
  • H2 (embedded, generally unsupported)
  • Other (please provide the name in the bug description)

Browser (If A Web Issue)

  • Chrome
  • Firefox
  • Safari
  • Other (if so, please provide a name)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcriticalCritical issueimportingIssues related to importing comics

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions