Skip to content

File names with placeholders like {sharee} change the text in the Activities panel #3891

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

A file name containing a placeholder like {sharee} changes the text of its activity. Cause: getHtmlFromActivity in packages/web-app-files/src/components/SideBar/ActivitiesPanel.vue fills the placeholders one after another, so a placeholder inside an already inserted name is filled again.

Reproduction Steps

  1. Create a file named test-{sharee}-x.txt and share it with another user.
  2. Open the file's details > Activities.

Expected Outcome

"… shared test-{sharee}-x.txt with mary".

Actual Outcome

"… shared test-mary-x.txt with {sharee}".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions