-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Assets number/count mismatch on the "View User" screen #15289
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Are any of those assets archived (or belong to an archived status?) |
Also are using full multiple company support, and is it possible that those assets don't belong to the same company as the user? |
Hiya, I only have 18 assets that are marked as "Archived" (from what i can tell, attaching screenshot), which wouldn't account for the delta in numbers, as these were assigned as Archived > Lost just yesterday. Looking into the multiple company support issue (although when i imported all the assets, they were in the same xls, same format, but i'll look). |
Ok so i just solved this by --> Purge "Deleted" data from the system, i don't know why the Assets were showing up that were marked as "Delete", but after purging all Deleted data, now the Assets match. If this is a defect, then please fix this for future :) And thanks Snipe for a quick response on this!! |
I think it definitely seems like a defect. I'll do a little more digging, but I suspect that's the situation. |
We use soft deletes (until you purge), so it's likely we have a relationship that's being used that is using |
Thank You Snipe! And thanks for creating this wonderful tool :) |
Well, what's stranger here is that this situation would arise at all. You can't delete an asset if it's still assigned to someone, you can only checkin and delete, so I'm not sure how you ended up here in the first place. Do you know how those deleted items got deleted? (API, GUI, etc) |
Debug mode
Describe the bug
I'm seeing on my snipe-it install that the "Assets" count is different then the number of Assets I currently have checked out to my name. I apologize if this is a super simple fix, but I can't find anywhere where I can just simply fix this issue. This occurs for pretty much all of my "users" in my database.
Reproduction steps
2.Login
3.Click on People
...
Expected behavior
The Tab name/title of "Assets" follows by a number that needs to match the actual assets that are listed below the tab. But what I see (as pictured) is Assets is showing number 38 (on tab on top), but the body of the page is showing "14" total Assets assigned to me.
Thank you!
Screenshots
No response
Snipe-IT Version
Version v7.0.10 - build 14684 (master)
Operating System
Windows 10
Web Server
Apache
PHP Version
8.2.12
Operating System
Windows 11
Browser
Edge
Version
126.0.2592.87
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: