Skip to content

Migration failing on staging #1113

@joepio

Description

@joepio

Latest develop failing on staging server:

atomic_lib::db::migrations: Migrating resources from v1 to v2, this may take a while...
thread 'main' panicked at lib/src/db/v1_types.rs:87:51:
ResourceV1 is not supported

This panic happens because a full, namedSubResource is parsed. The migration didn't cover this case. In defense of @Polleps, I find it hard to come up with a situation where a named subresource exists.

I think we should change the behavior: replace both panics with a trace::warn and convert to Subject.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions