Skip to content

Fetching drives results in space image and readme getting lost #452

Closed

Description

@JammingBen

Describe the bug

Fetching drives via the https://localhost:9200/graph/v1beta1/drives endpoint may result in space image and readme getting lost. This only goes for spaces where the current user is not a member of.

Steps to reproduce

  1. As margaret, create a space and upload an image
  2. As admin, fetch all spaces via https://localhost:9200/graph/v1beta1/drives (via curl or e.g. by visiting the spaces overview in the admin settings app)
  3. As margaret, reload the spaces overview

Expected behavior

The newly created space has the uploaded image.

Actual behavior

The image and description are gone. The https://localhost:9200/graph/v1beta1/drives returns no special property for the newly create space (although the image and the md file are still present on the disc).

Activity

  1. moved this from Qualification to Prio 2 in OpenCloud Team Boardon Mar 21, 2025
  2. JammingBen commented on Mar 21, 2025

    @JammingBen
    MemberAuthor

    cc @tbsbdr @dragotin please decide if this is p1 or p2

  3. kulmann commented on Mar 21, 2025

    @kulmann
    Member

    I'm really baffled 😅 we tested this on two local machines and the public demo instance and were able to reproduce it 100% of the time.

  4. micbar commented on Mar 21, 2025

    @micbar
    Member

    In both cases, this is a blocker.

  5. v-scharf commented on Mar 24, 2025

    @v-scharf
    Contributor
  6. self-assigned this
    on Mar 24, 2025
  7. v-scharf commented on Mar 24, 2025

    @v-scharf
    Contributor

    @aduffeck You're right. It came back after a while.

  8. v-scharf commented on Mar 24, 2025

    @v-scharf
    Contributor

    Tested on decomposed, that bug is only with posix.

  9. aduffeck commented on Mar 24, 2025

    @aduffeck
    Member

    I also see it using the decomposed driver, which makes sense as it's a problem with the cache in the graph API.

    Steps to reproduce:

    1. Restart server
    2. List spaces as admin (which leads to the cache being filled with the empty image attribue)
    3. List spaces as margaret -> empty image until the TTL cache expires
  10. added a commit that references this issue on Mar 24, 2025
    8b7f121
  11. kulmann commented on Mar 25, 2025

    @kulmann
    Member

    Thank you for fixing this so quickly @aduffeck 🤩

  12. moved this from Done to Needs Tests in OpenCloud Team Boardon Mar 25, 2025
  13. added a commit that references this issue on May 12, 2025
  14. moved this from Needs Tests to Done in OpenCloud Team Boardon May 12, 2025
  15. added a commit that references this issue on May 13, 2025
  16. added 2 commits that reference this issue on Oct 13, 2026
    0464a3c
    1d6cbd5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions