Skip to content

Improve import error handling and messages #882

@mikkohei13

Description

@mikkohei13
  • Should show clear error messages about all fields, for example:
    • if import file is empty, shows "must have required property 'gatherings'". Should say something clearer, e.g. "file is empty" or "location data missing", depending when exactly this error is shown.
    • If Havainnoijat field contains a MA-code that doesn't exist, shows error "leg". Should show "Unknown observer identifier MA....".
  • Should not get stuck when (??) See https://luomus-ict.slack.com/archives/C01QYRXB62H/p1767084968656699

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