Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Delete inbox file operation leads to incomplete remove message sent to CEGA #57

@kjellp

Description

@kjellp

Describe the bug
When issuing a "delete file in inbox" operation in the REST interface (i.e. using lega-commander), the message being posted by the MQ Aspect to CEGA is incomplete. It has "filesize":0 and "file_last_modified":0.

To Reproduce
Steps to reproduce the behavior:

  1. List your files in your inbox using "lega-commander inbox -l"
  2. Select a file to delete: "lega-commander inbox -d delete-this-file.c4gh"
  3. Log into ega.elixir.no and inspect proxy server log to see MQ message posted to CEGA: "docker logs proxy-container-id | less"
  4. Observe wrong message

Expected behavior
filesize should be set correctly.
file_last_modified: check docs for what info this should contain

Screenshot

Screenshot from 2022-03-01 11-46-40

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