Skip to content

Fix OptimisticLockException when saving metadata after import #37

Description

@Hkarnen

This is caused by a contention between process_image() here and OMERO updating the image after the import returns.

Fix by refetching the image by id before applying name / description and saving, and potentially retry a few times when it happens

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