{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/4491","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/4491/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/4491/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/4491/events","html_url":"https://github.com/snipe/snipe-it/issues/4491","id":275357768,"number":4491,"title":"Inventory Check Out Error","user":{"login":"kagashe","id":33831102,"avatar_url":"https://avatars2.githubusercontent.com/u/33831102?v=4","gravatar_id":"","url":"https://api.github.com/users/kagashe","html_url":"https://github.com/kagashe","followers_url":"https://api.github.com/users/kagashe/followers","following_url":"https://api.github.com/users/kagashe/following{/other_user}","gists_url":"https://api.github.com/users/kagashe/gists{/gist_id}","starred_url":"https://api.github.com/users/kagashe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kagashe/subscriptions","organizations_url":"https://api.github.com/users/kagashe/orgs","repos_url":"https://api.github.com/users/kagashe/repos","events_url":"https://api.github.com/users/kagashe/events{/privacy}","received_events_url":"https://api.github.com/users/kagashe/received_events","type":"User","site_admin":false},"labels":[{"id":65558613,"url":"https://api.github.com/repos/snipe/snipe-it/labels/bug","name":"bug","color":"fc2929","default":true},{"id":289493339,"url":"https://api.github.com/repos/snipe/snipe-it/labels/javascript","name":"javascript","color":"c5def5","default":false},{"id":757436341,"url":"https://api.github.com/repos/snipe/snipe-it/labels/ui","name":"ui","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/snipe/snipe-it/milestones/17","html_url":"https://github.com/snipe/snipe-it/milestone/17","labels_url":"https://api.github.com/repos/snipe/snipe-it/milestones/17/labels","id":2929766,"number":17,"title":"4.2","description":"","creator":{"login":"snipe","id":197404,"avatar_url":"https://avatars0.githubusercontent.com/u/197404?v=4","gravatar_id":"","url":"https://api.github.com/users/snipe","html_url":"https://github.com/snipe","followers_url":"https://api.github.com/users/snipe/followers","following_url":"https://api.github.com/users/snipe/following{/other_user}","gists_url":"https://api.github.com/users/snipe/gists{/gist_id}","starred_url":"https://api.github.com/users/snipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snipe/subscriptions","organizations_url":"https://api.github.com/users/snipe/orgs","repos_url":"https://api.github.com/users/snipe/repos","events_url":"https://api.github.com/users/snipe/events{/privacy}","received_events_url":"https://api.github.com/users/snipe/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":1,"state":"open","created_at":"2017-11-21T23:54:14Z","updated_at":"2017-11-21T23:58:32Z","due_on":"2017-12-31T08:00:00Z","closed_at":null},"comments":9,"created_at":"2017-11-20T13:35:45Z","updated_at":"2017-11-22T00:19:32Z","closed_at":null,"author_association":"NONE","body":"#### Expected Behavior (or desired behavior if a feature request)\r\n\r\nBe able to check out an asset against a location instead of a user.\r\n\r\n-----\r\n\r\n#### Actual Behavior\r\n\r\nError screen\r\n\r\n-----\r\n\r\n#### Please confirm you have done the following before posting your bug report:\r\n\r\n- [x] I have enabled debug mode \r\n- [x] I have read [checked the Common Issues page](https://snipe-it.readme.io/docs/common-issues)\r\n\r\n-----\r\n#### Provide answers to these questions:\r\n\r\n- Is this a fresh install or an upgrade?               \r\nFresh Install                      \r\n- Version of Snipe-IT you're running\r\nVersion v4.1.4 build 173 (gba38b84)                                       \r\n- Version of PHP you're running\r\n7.0.22-0ubuntu0.16.04.1\r\n- Version of MySQL/MariaDB you're running\r\nMySQL 5.6\r\n- What OS and web server you're running Snipe-IT on\r\nUbuntu 16 with Apache version 2.4.18\r\n- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)\r\nDocker\r\n- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error\r\n\r\nat HandleExceptions->handleError(8, 'Trying to get property of non-object', '/srv/users/serverpilot/apps/laravel5/app/Http/Controllers/AssetsController.php', 466, array('request' => object(AssetCheckoutRequest), 'assetId' => '1373', 'asset' => object(Asset), 'target' => null))in AssetsController.php (line 466)\r\n--\r\nat AssetsController->postCheckout(object(AssetCheckoutRequest), '1373')\r\nat call_user_func_array(array(object(AssetsController), 'postCheckout'), array(object(AssetCheckoutRequest), 'assetId' => '1373'))in Controller.php (line 55)\r\nat Controller->callAction('postCheckout', array(object(AssetCheckoutRequest), 'assetId' => '1373'))in ControllerDispatcher.php (line 44)\r\nat ControllerDispatcher->dispatch(object(Route), object(AssetsController), 'postCheckout')in Route.php (line 203)\r\nat Route->runController()in Route.php (line 160)\r\nat Route->run()in Router.php (line 574)\r\nat Router->Illuminate\\Routing\\{closure}(object(Request))in Pipeline.php (line 30)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in Authenticate.php (line 43)\r\nat Authenticate->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in CreateFreshApiToken.php (line 49)\r\nat CreateFreshApiToken->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in CheckForTwoFactor.php (line 49)\r\nat CheckForTwoFactor->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in CheckLocale.php (line 42)\r\nat CheckLocale->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in VerifyCsrfToken.php (line 65)\r\nat VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in AddQueuedCookiesToResponse.php (line 37)\r\nat AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in EncryptCookies.php (line 59)\r\nat EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in Pipeline.php (line 102)\r\nat Pipeline->then(object(Closure))in Router.php (line 576)\r\nat Router->runRouteWithinStack(object(Route), object(Request))in Router.php (line 535)\r\nat Router->dispatchToRoute(object(Request))in Router.php (line 513)\r\nat Router->dispatch(object(Request))in Kernel.php (line 176)\r\nat Kernel->Illuminate\\Foundation\\Http\\{closure}(object(Request))in Pipeline.php (line 30)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in Debugbar.php (line 51)\r\nat Debugbar->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in CheckForDebug.php (line 25)\r\nat CheckForDebug->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in TrustProxies.php (line 56)\r\nat TrustProxies->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in CheckForSetup.php (line 27)\r\nat CheckForSetup->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in NosniffGuard.php (line 17)\r\nat NosniffGuard->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in ContentSecurityPolicyHeader.php (line 18)\r\nat ContentSecurityPolicyHeader->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in ReferrerPolicyHeader.php (line 17)\r\nat ReferrerPolicyHeader->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in XssProtectHeader.php (line 18)\r\nat XssProtectHeader->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in FrameGuard.php (line 17)\r\nat FrameGuard->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in ShareErrorsFromSession.php (line 49)\r\nat ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in StartSession.php (line 64)\r\nat StartSession->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in CheckForMaintenanceMode.php (line 46)\r\nat CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php (line 148)\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))in Pipeline.php (line 53)\r\nat Pipeline->Illuminate\\Routing\\{closure}(object(Request))in Pipeline.php (line 102)\r\nat Pipeline->then(object(Closure))in Kernel.php (line 151)\r\nat Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)\r\nat Kernel->handle(object(Request))in index.php (line 58)\r\n\r\n\r\n- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error\r\nerror appears after clicking checkout on asset checkout.\r\n- If a stacktrace is provided in the error, include that too.\r\n- Any errors that appear in your browser's error console.\r\n- Confirm whether the error is reproduceable on the demo: https://snipeitapp.com/demo.\r\nConfirmed reproducable on Demo system.\r\n- Include any additional information you can find in `app/storage/logs` and your webserver's logs.\r\n- Include what you've done so far in the installation, and if you got any error messages along the way.\r\nHaven't had any error messages so far.\r\n- Indicate whether or not you've manually edited any data directly in the database\r\nNo\r\n\r\nPlease do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.\r\n\r\nhttps://snipe-it.readme.io/docs/getting-help\r\n"},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/346203434","html_url":"https://github.com/snipe/snipe-it/issues/4491#issuecomment-346203434","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/4491","id":346203434,"user":{"login":"snipe","id":197404,"avatar_url":"https://avatars0.githubusercontent.com/u/197404?v=4","gravatar_id":"","url":"https://api.github.com/users/snipe","html_url":"https://github.com/snipe","followers_url":"https://api.github.com/users/snipe/followers","following_url":"https://api.github.com/users/snipe/following{/other_user}","gists_url":"https://api.github.com/users/snipe/gists{/gist_id}","starred_url":"https://api.github.com/users/snipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snipe/subscriptions","organizations_url":"https://api.github.com/users/snipe/orgs","repos_url":"https://api.github.com/users/snipe/repos","events_url":"https://api.github.com/users/snipe/events{/privacy}","received_events_url":"https://api.github.com/users/snipe/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T00:19:32Z","updated_at":"2017-11-22T00:19:32Z","author_association":"OWNER","body":"Careful, I might quote you on that for our website :D \r\n\r\nDid you get a chance to test it out at all, or are you just basing that off the gif? (It's merged into develop now, so you can test it on the develop demo using the credentials above if you don't want to check out a non-release branch)"}}
{"actor":{"display_login":"snipe"}}