nextcloud / nextcloud/richdocuments
[Bug]: unable to create document from template when secure view is enabled
Open
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: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
unable to create document from template when secure view is enabled
Steps to reproduce
- enable secure view for current user
- have document templates in a template folder, have this templates folder set in personal settings > office
- create new document
- chose template
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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