Skip to content

Inaccurate error message on pages.jsonl validation #48

Description

@extua

I was reading through the validation code and noticed that the error message for checking required pages.jsonl file is

An index file is missing from your indexes folder you must have an index.cdx.gz, index,cdx or index.idx in your index folder.

It looks like this has just been copied from the missing index error message.
The error message could be written instead as

A pages file is missing from your pages folder; you must have a pages.jsonl in your pages folder.

I'm not able to trigger the error message as deleting the pages.jsonl file in a WACZ still passes validation, see #46.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions