-
-
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
Status - 500 Assets do not show in Status #14957
Comments
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1 890μsfredons_assetEloquentUserProvider.php#59
Bindings | 0: 1
-- | --
Hints | 0: Use SELECT * only if you need all columns from table1: LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
Backtrace | 16. vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php:5917. vendor/laravel/passport/src/PassportUserProvider.php:4218. vendor/laravel/passport/src/Guards/TokenGuard.php:25719. vendor/laravel/passport/src/Guards/TokenGuard.php:12220. vendor/laravel/framework/src/Illuminate/Auth/GuardHelpers.php:56
select `permission_groups`.*, `users_groups`.`user_id` as `pivot_user_id`, `users_groups`.`group_id` as `pivot_group_id` from `permission_groups` inner join `users_groups` on `permission_groups`.`id` = `users_groups`.`group_id` where `users_groups`.`user_id` = 1 710μsfredons_assetUser.php#147select * from `custom_fields` 610μsfredons_assetAssetsController.php#123select count(*) as aggregate from `assets` inner join `status_labels` as `status_alias` on `status_alias`.`id` = `assets`.`status_id` where `assets`.`status_id` = '22' and `assets`.`deleted_at` is null 810μsfredons_assetAssetsController.php#386select count(*) as aggregate from `assets` inner join `status_labels` as `status_alias` on `status_alias`.`id` = `assets`.`status_id` where `assets`.`status_id` = '22' and `assets`.`deleted_at` is null 690μsfredons_assetAssetsController.php#389select `assets`.* from `assets` inner join `status_labels` as `status_alias` on `status_alias`.`id` = `assets`.`status_id` where `assets`.`status_id` = '22' and `assets`.`deleted_at` is null order by `name` asc limit 500 offset 500 laravel log : #48 /home/fredons/public_html/asset/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\NoSessionStore->handle(Object(Illuminate\Http\Request), Object(Closure)) |
Is there anything in your app log? (Please stop including the debugbar output. It almost always offers nothing of value for troubleshooting - useful for developing, but not great for troubleshooting, as all it's doing is showing me queries, not stack traces.) Is it possible these items are archived? |
I still have Show archived assets in the "all assets" listing ticked. How do i get the app log? |
https://snipe-it.readme.io/docs/getting-help#step-3-check-your-app-and-server-logs
|
The laravel.log output is what we need, but that's too little of it. That's all framework level stuff, which I'm pretty sure isn't the issue here. |
resolved mysteriously. |
Debug mode
Describe the bug
Updated to latest snipe version. When going to Status now it has 500 assets in a newly credit status. If you click on these assets they do not exist and cannot be reassigned to another status.
Reproduction steps
Tried another one,
Expected behavior
I cannot remove these status as they have 500 assets in each of these labels but they dont exist. Not sure why
Screenshots
No response
Snipe-IT Version
v7.0.5 build 14092 (g294fb1f77)
Operating System
almalinux
Web Server
apache
PHP Version
8.1.29
Operating System
No response
Browser
No response
Version
No response
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: