Skip to content

importAnnotations in ReviewStrategy sets layerFamily metadata as childs metadata, which breaks WHO saving #525

@konrad-gerlach

Description

@konrad-gerlach

Description
When saving WHO annotation, we get an error stating, that

This code seems responsible found in review-strategy.ts, which sets the family's metadata as the first child's metadata. However, in the WHO case we need to differentiate between annotationUUID and annotationDataUUID.
const familyFiles = this.store.editor.activeDocument?.createLayerFamily( annotationFiles, Annotation ${idx + 1}, { ...annotationFiles[0]?.metadata }, );

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions