fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Adding Software (.deb file) to a team creates a duplicate or ghost file

Open PezHub opened this issue 1 year ago • 1 comments

Fleet version: (4.50.0 unreleased) revision: e63f35a2987a5ddd715fa392171974be5e321464 build date: 2024-05-18 build user: gabelopez go version: go1.22.2 Web browser and operating system: Chrome 124.0.6367.209 (Official Build) (arm64) running on macOS


💥  Actual behavior

Duplicate .deb installers visible in UI when uploading files. File name and version details are the same, but if you look at the API they are different. Could be a ghost file from installers that exist on other teams or were already deleted.

TODO

🧑‍💻  Steps to reproduce

  1. Upload a .deb installer to a Team (You may need to upload the same or similar .deb installer to another team to reproduce the issue)
  2. Note the two instances of the same file in the UI

🕯️ More info (optional)

https://www.loom.com/share/6cd4bc88daea407493259963c27c640d

Ignore the "file already exists" error in the Loom video. That is expected behavior

Screenshot 2024-05-20 at 10 20 54 AM

PezHub avatar May 20 '24 17:05 PezHub

retested and looks good!

QA Approved

PezHub avatar May 21 '24 21:05 PezHub

Duplicate files appear, Fixing brings clarity, peace, Smooth sailing in code.

fleet-release avatar May 23 '24 20:05 fleet-release