Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page reload required to add group to newly created groupfolder #3480

Open
wasink opened this issue Dec 10, 2024 · 1 comment
Open

Page reload required to add group to newly created groupfolder #3480

wasink opened this issue Dec 10, 2024 · 1 comment
Labels
0. Needs triage Issues that need to be triaged bug

Comments

@wasink
Copy link

wasink commented Dec 10, 2024

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a new groupfolder
  2. Add a group to it
  3. Reload page and see that the group is not shown

Expected behaviour

The group should be added to the folder

Actual behaviour

There is no group added to the folder. Based on the following requests it looks like an issue with the reporting of the new groupfolder ID back to the frontend.

Adding a group without reload:
"POST /apps/groupfolders/folders/[object%20Object]/groups HTTP/2.0" 200

Adding a group after reload:
"POST /apps/groupfolders/folders/9/groups HTTP/2.0" 200

However looking at the response of the groupfolder creation shows the server answered with the ID.

XHRPOST https://<REDACTED>/apps/groupfolders/folders [HTTP/2 200  85ms]

Request
{"mountpoint":"test"}

Reply
{"ocs":{"meta":{"status":"ok","statuscode":100,"message":"OK","totalitems":"","itemsperpage":""},"data":{"id":9}}}

Server configuration

Operating system: Linux 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64

Webserver: nginx/1.27.1 (fpm-fcgi)

Database: mysql 10.5.27

PHP version: 8.2.26

Nextcloud version: 29.0.9 - 29.0.9.2

Group folders version: 17.0.7

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Are you using external storage, if yes which one: no

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0

Operating system: Manjaro

@wasink wasink added 0. Needs triage Issues that need to be triaged bug labels Dec 10, 2024
@marcelklehr
Copy link
Member

Can confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Issues that need to be triaged bug
Projects
None yet
Development

No branches or pull requests

2 participants