-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
The result could not be loaded when checking out license to asset #6367
Comments
Can you elaborate that a little more? Additionally, please tell me what's in your app error logs. |
I created scheduled event in database to run sql statement and update requestable field in assets table the error is
|
@snipe is this a bug? or I just started having this problem? |
I get the same error when I try to checkout a component type into the search for an asset: Next Illuminate\Database\QueryException: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'company_id' in where clause is ambiguous (SQL: select count() as aggregate from |
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. |
Still getting the same error, confirmed reproducible on Snipe-IT demo system too. |
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know! |
Please check one more time, login as non superadmin user Full Company support must be enabled To Reproduce login as non Super Admin
|
Solves error: Integrity constraint violation: 1052 Column 'company_id' in where clause is ambiguous
I pushed out a change on master - can you see if that resolves this issue? |
Yes it's resolved, thank you very much @snipe 👍 |
Awesome - thanks so much for pushing this one. I've been hunting that bug for months, but was never able to reproduce it properly, so could never figure out what was going on. |
It's OK for that, thank you for your valuable time and attention |
Describe the bug
Getting error 'The results could not be loaded' when checking out a license to an asset, I am not able to search for an asset by asset name, tag or model. I have to scroll down and select the asset manually.
same behavior when checking out asset to an asset or component to an asset.
this issue only occur if the user is not super admin.
To Reproduce
login as non Super Admin
Expected behavior
When searching for asset it should be able to fetch data
Screenshots
![1](https://user-images.githubusercontent.com/35658596/47582505-30e06b80-d95d-11e8-8383-844a045d4c6f.jpg)
Server (please complete the following information):
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: