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

Cockpit: wrong shared folder size #5802

Open
filippocarletti opened this issue Aug 7, 2019 · 2 comments

Comments

@filippocarletti
Copy link
Member

commented Aug 7, 2019

Cockpit shared folders page is showing incorrect size and number of files for one folder. All other folders are correct.

Steps to reproduce

  • Create a shared folder named "Test1"
  • Create a shared folder named "Test2"
  • Put some files in folder Test1
  • Create a subfolder named "Test1" into Test2 shared folder

Expected behavior

Test1 should be reported as containing some files

Actual behavior

Test1 is said to contain no files

Note: not always reproducible.

See also

https://community.nethserver.org/t/cockpit-ui-fileshare-total-incorrect/12989

@filippocarletti filippocarletti added the bug label Aug 7, 2019

gsanchietti added a commit to NethServer/nethserver-samba that referenced this issue Aug 8, 2019

Cockpit: wrong shared folder size (#40)
- If a shared folder had the same name as a subdirectory of any ibay, folder size and
file count could sometimes be incorrect

- Fixed vulnerabilty issues (npm audit fix)

NethServer/dev#5802
@nethbot

This comment has been minimized.

Copy link
Member

commented Aug 8, 2019

in 7.6.1810/testing:

@gsanchietti

This comment has been minimized.

Copy link
Member

commented Aug 8, 2019

Test case

Check the bug is not reproducible.

@gsanchietti gsanchietti added the testing label Aug 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.