nextcloud / nextcloud/richdocuments

[Bug]: unable to create document from template when secure view is enabled

Open
#5,142 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

⚠️ This issue respects the following points: ⚠️
Bug description

unable to create document from template when secure view is enabled

Steps to reproduce
  1. enable secure view for current user
  2. have document templates in a template folder, have this templates folder set in personal settings > office
  3. create new document
  4. chose template
  5. error "Unable to create new file from template"
Expected behavior

document is created from template

Nextcloud Server version

31.0.8

Additional info

let me know if you need more info

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

No files, tests, or entry points are named. Start by reproducing the failure with secure view enabled, a configured personal document-template folder, and a new document; trace the template-creation path until the error appears. Done means a document can be created from the selected template while secure view remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.