nextcloud / nextcloud/richdocuments
Cannot use a Templates folder within a Groupfolder
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
Describe the bug
A Template folder created within a groupfolder (and set as the Template location) does not work as expected and doesn't suggest templates when creating new files. Instead, no templates are suggested.
To Reproduce
Steps to reproduce the behavior:
- Set up stock nextcloud 24.0.8
- Login as admin
- Go to https://nextcloud.example.com/settings/users
- Create a group (e.g.
computers) - Create a regular user (e.g.,
dorothyvaughan) - Add the new user to the new group.
- Install the Nextcloud Office app (v6.3.6)
- Install the Group Folders app (v12.0.3)
- Go to https://nextcloud.example.com/settings/admin/richdocuments
- Select a demo Collabora server.
- Go to https://nextcloud.example.com/settings/admin/groupfolders
- Create a new groupfolder (e.g. Computers) and give the
adminand computers` group full access. - Login as test user
- Navigate to new groupfolder.
- Inside, set up a Templates folder by selecting the + and then Set up templates folder and naming Templates
- Inside the Templates folder, create a test Template .docx document.
- Under [Profile] > Settings > Office, Choose the location of the templates folder you just set up.
- Navigate back to the user's home folder and attempt to create a new .docx
- No Templates are offered to the user.
Expected behavior
I expect that users can use any location they have access to to set up a Templates folder, even if this is group folder. (Creating a templates folder outside of groupfolders and setting that location under settings does work as expected.)
Screenshots
Client details:
- OS: Arch Linux
- Browser: Mozilla Firefox , Chromium
- Version: 112.0.2 , 113.0.5672.63
- Device: Desktop/web
Server details
Operating system: Alpine
Web server: nginx/1.23.2
Database: mariadb Ver 15.1 Distrib 10.8.7-MariaDB, for Linux
PHP version: PHP 8.1.13 (cli) (built: Nov 23 2022 13:29:46) (NTS)
Nextcloud version: 24.0.8.2
Version of the richdocuments app v6.3.6
Version of Collabora Online Not sure what the demo server is running, but I was also able to replicate on Collabora Online 22.05.12-4
Logs
Nextcloud log (data/nextcloud.log)
The logs show that I haven't configured the smtp yet to send activity/account activation emails to dorothy.
I also haven't configured a clamAV instance yet, so there are warnings about that.
Please let me know what other information I can provide.
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
The report names the Office settings, groupfolder location, and template-creation flow, but no source file or test. Start by reproducing the steps with a template stored in a groupfolder, then trace the richdocuments handling of that configured location. Done means a user can create a new document and receive templates from an accessible groupfolder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100