Skip to content

[UI] [Error] Give better information when location mapping fails #62

@jcoliz

Description

@jcoliz

Given: A document specifying box which refers to a location which doesn't exist
When: Loading that document
Then: Useful error displayed to user, describing which box had the problem and what the problem exactly is.

Currently, it just says "{Location Name} not found". Need to know which box, and need to know where it wasn't found. e.g. "Box 'My Stuff' uses location Top in page 7. This page has no locations defined", or "This page does not define a location for Top.

Furthermore, it shouldn't just refuse to load. This is a recoverable error, so can just present it as a warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions