nextcloud / nextcloud/groupfolders

wrongly displayed storage values in GUI admin view

Open
#2,209 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: quota needs review
Dominant language
PHP
Stars
343
Forks
106
Avg merge
2d 3h
Merged PRs (30d)
34

Description

Nextcloud version: 24.0.8.2 (was upgraded from NC 23 and earlier)
Operating system and version: Debian 11.5 Bullseye Linux amd64
Apache version: 2.4.54
PHP version: 7.4.30
Groupfolders app: 12.0.2

The issue we are facing:

On NC 24 web GUI in Groupfolders admin with settings/admin/groupfolders there is an annoying glitch in wrongly displaying the allowed storage amount of the respective group folders list. The amount can be falsely displayed as more than one category below i.e. 1 GB instead of 10 GB set. However, reloading the GUI page shows the correct values again.

Is this the first time you've seen this error? (Y/N): unknown, presumably yes

Steps to replicate it:

  1. Select the web GUI in Groupfolders admin with settings/admin/groupfolders view with several group folders established before. Have a look at the storage values in the list to be prepared.
  2. Change or adjust the value of any group folder and save this value.
  3. One will see several if not all values of other group folders being falsely displayed as below the value viewed before.
  4. Reload the browser page view and correct values should show again.

IMHO there seems to be no need for further logs and no error messages were found.

You may see also: https://help.nextcloud.com/t/groupfolders-12-0-2-wrongly-displaying-storage-values/151854

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 issue in the Groupfolders admin view at settings/admin/groupfolders using several existing group folders. Change and save one folder's storage value, compare the other displayed values before and after a browser reload, and trace the admin-view entry point to identify where the stale display is introduced. Done means other folders retain their correct displayed values after saving one folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
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.