nextcloud / nextcloud/text

Attachments are not moved along when guests move markdown file (on editable share)

Open
#6,422 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Describe the bug
When a guest user moves a markdown from one directory to another
the attachments folder is not moved along the file.

To Reproduce
Steps to reproduce the behavior:

  1. Share a folder as editable
  2. Create some subfolders and a markdown file with attachments
  3. Open the editable folder as a guest
  4. Move the markdown file to one of the subfolders
  5. Open the markdown file in the subfolder
  6. Attachments are not rendered anymore as they are still in the old location

Expected behavior
The attachments folder should be moved alongside the file
even when the file is moved by a guest.

Screenshots
image

Server details:

  • Nextcloud 30
  • cloud.nextcloud.com

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the move in an editable shared folder as a guest, using the steps in the issue, and trace how the markdown file and its attachments folder are handled. Identify the move and attachment-path entry points, then verify that opening the moved file still renders its attachments in the new subfolder.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.