Skip to content

AppWrapper doesn't clear ancestor metadata #11787

@kulmann

Description

@kulmann

Describe the bug

As found out in #11775 (comment)
When opening a template file in a project space while having the sidebar open, the shares panel still shows the project space members, despite the new file being in the personal space. This happens because the ancestors and therefore the loaded space members don't get cleared.
At the moment this is an edge case, because usually the context stays identical when navigating from the files app into an app.

Steps to reproduce

  1. Create a space "templates"
  2. Upload a file "example.dotx" to the space
  3. Open the right sidebar
  4. Left-click on it to trigger the action for creating a document from a template

Expected behavior

The right sidebar has the correct context of the personal space root, where the new document is being created.

Actual behavior

The right sidebar still has the "templates" space as context.

We need to clear ancestor metadata.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions