{"action":"created","issue":{"url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/854","repository_url":"https://api.github.com/repos/LearningLocker/learninglocker","labels_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/854/labels{/name}","comments_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/854/comments","events_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/854/events","html_url":"https://github.com/LearningLocker/learninglocker/issues/854","id":171726176,"number":854,"title":"Statements view crashing after update to 1.13.4","user":{"login":"hallshouse","id":11246769,"avatar_url":"https://avatars.githubusercontent.com/u/11246769?v=3","gravatar_id":"","url":"https://api.github.com/users/hallshouse","html_url":"https://github.com/hallshouse","followers_url":"https://api.github.com/users/hallshouse/followers","following_url":"https://api.github.com/users/hallshouse/following{/other_user}","gists_url":"https://api.github.com/users/hallshouse/gists{/gist_id}","starred_url":"https://api.github.com/users/hallshouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallshouse/subscriptions","organizations_url":"https://api.github.com/users/hallshouse/orgs","repos_url":"https://api.github.com/users/hallshouse/repos","events_url":"https://api.github.com/users/hallshouse/events{/privacy}","received_events_url":"https://api.github.com/users/hallshouse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-08-17T18:21:34Z","updated_at":"2016-08-19T12:39:46Z","closed_at":"2016-08-19T12:33:54Z","body":"You need to replace the parts of this template where you see {{some text}}.\r\n\r\n**Version**\r\nmaster at {{commit}} on {{1.13.4 - found in your copy of the VERSION file}} \r\n\r\n**Steps to reproduce the bug**\r\n1. Upgrade LL via Learning Locker upgrade procedure found at http://docs.learninglocker.net/upgrading/\r\n2. Create an LRS instance or select an existing LRS\r\n3. Write some statements to it from any (SL, CP, or WP) xAPI enabled product\r\n4. Select LRS in left navigation\r\n\r\nSelect Staetments in left navigation\r\n**Expected behaviour**\r\nA list of statements should be displayed in content view.\r\n\r\n**Actual behaviour**\r\nMongoResultException crash in collection.php.\r\n\r\n**Additional information**\r\nOS: server: Ubuntu 14.04 client Win10\r\nBrowser: IE11, FF, Chrome, Safari\r\nCrash results:\r\nMongoResultException (2) \r\nlocalhost:27017: error processing query: ns=ll_staging.statements limit=0 skip=0 Tree: $and active == true lrs_id == ObjectId('57b48169768d88f00e8b4567') voided == false Sort: {} Proj: {} planner returned error: bad hint \r\n\r\nError at: Collection.php line number 59\r\n\r\nNo GET Data\r\n\r\nNo POST Data\r\n\r\nNo Files\r\n\r\nCookies:\r\n_ga GA1.2.844242742.1431654937 \r\nwp-settings-1 editor=html&hidetb=1&libraryContent=browse&advImgDetails=hide&imgsize=full&post_dfw=off&mfold=o&urlbutton=file&align=left&posts_list_mode=list \r\nwp-settings-time-1 1471440941 \r\notw_ovcf_2484cd9ef54b181ebaa3a826977f6f7a 1 \r\npwebcontact2_openauto 1 \r\nwp-settings-time-5 1441815785 \r\nwp-settings-61 libraryContent=browse \r\nwp-settings-time-61 1442249907 \r\nwp-settings-63 libraryContent=upload \r\nwp-settings-time-63 1442420760 \r\nwp-settings-67 libraryContent=browse&hidetb=1 \r\nwp-settings-time-67 1442431402 \r\nwp-settings-68 hidetb=1&libraryContent=browse \r\nwp-settings-time-68 1442448572 \r\nwp-settings-time-71 1443301333 \r\nwp-settings-71 editor=tinymce&libraryContent=browse&advImgDetails=show&wplink=1&hidetb=1&urlbutton=none \r\nwpglobus-language en \r\n__atuvc 5|14 \r\nwordpress_logged_in_a24e42e417c77e65b835009442774e3e dhall|1472233686|dgWswhh5zRWxTYyatLgMlCsDKe6elh0gkjPa1eI3TEm|1365f4319604a003d118092bf398be157883e36b05914b6ee4ca568501c27ae2 \r\nlaravel_session eyJpdiI6IlZRMkVFb3grTHZ1QXFKZHVzZjN5ZnpyNTJwbFFyT1N0a3kxcDhWaXYzeXM9IiwidmFsdWUiOiJXa0Z4OHRmQkg4Nk1GM3pmZEFoMDhmSzBQdjh1Mm11dXZxNHhXYXYrMGpuazJJcnVxeklWY1FDaUVZK3l6aHlRK2VlZ1wvRXoxN2g5Sis2SWtESFQzcFE9PSIsIm1hYyI6IjVjMDk0ZjU3ZDkwYjE5Mzk3MzZhNjExZjM2NzgwZjNmYTlmNTI0ZTViNzdkYzMyMzc1N2NmNWExNWZjOGVhMmUifQ== \r\n\r\nNo Session Data\r\n\r\nServer/Request Data:\r\nREDIRECT_STATUS 200 \r\nHTTP_ACCEPT text/html, application/xhtml+xml, image/jxr, */* \r\nHTTP_REFERER http://lrs.learning-templates.com/lrs/57b48169768d88f00e8b4567 \r\nHTTP_ACCEPT_LANGUAGE en-US,en;q=0.8,fr-CA;q=0.5,fr;q=0.3 \r\nHTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko \r\nHTTP_ACCEPT_ENCODING gzip, deflate \r\nHTTP_HOST lrs.learning-templates.com \r\nHTTP_DNT 1 \r\nHTTP_CONNECTION Keep-Alive \r\nHTTP_COOKIE _ga=GA1.2.844242742.1431654937; wp-settings-1=editor%3Dhtml%26hidetb%3D1%26libraryContent%3Dbrowse%26advImgDetails%3Dhide%26imgsize%3Dfull%26post_dfw%3Doff%26mfold%3Do%26urlbutton%3Dfile%26align%3Dleft%26posts_list_mode%3Dlist; wp-settings-time-1=1471440941; otw_ovcf_2484cd9ef54b181ebaa3a826977f6f7a=1; pwebcontact2_openauto=1; wp-settings-time-5=1441815785; wp-settings-61=libraryContent%3Dbrowse; wp-settings-time-61=1442249907; wp-settings-63=libraryContent%3Dupload; wp-settings-time-63=1442420760; wp-settings-67=libraryContent%3Dbrowse%26hidetb%3D1; wp-settings-time-67=1442431402; wp-settings-68=hidetb%3D1%26libraryContent%3Dbrowse; wp-settings-time-68=1442448572; wp-settings-time-71=1443301333; wp-settings-71=editor%3Dtinymce%26libraryContent%3Dbrowse%26advImgDetails%3Dshow%26wplink%3D1%26hidetb%3D1%26urlbutton%3Dnone; wpglobus-language=en; __atuvc=5%7C14; wordpress_logged_in_a24e42e417c77e65b835009442774e3e=dhall%7C1472233686%7CdgWswhh5zRWxTYyatLgMlCsDKe6elh0gkjPa1eI3TEm%7C1365f4319604a003d118092bf398be157883e36b05914b6ee4ca568501c27ae2; laravel_session=eyJpdiI6IlZRMkVFb3grTHZ1QXFKZHVzZjN5ZnpyNTJwbFFyT1N0a3kxcDhWaXYzeXM9IiwidmFsdWUiOiJXa0Z4OHRmQkg4Nk1GM3pmZEFoMDhmSzBQdjh1Mm11dXZxNHhXYXYrMGpuazJJcnVxeklWY1FDaUVZK3l6aHlRK2VlZ1wvRXoxN2g5Sis2SWtESFQzcFE9PSIsIm1hYyI6IjVjMDk0ZjU3ZDkwYjE5Mzk3MzZhNjExZjM2NzgwZjNmYTlmNTI0ZTViNzdkYzMyMzc1N2NmNWExNWZjOGVhMmUifQ%3D%3D \r\nPATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \r\nSERVER_SIGNATURE <address>Apache/2.4.7 (Ubuntu) Server at lrs.learning-templates.com Port 80</address>  \r\nSERVER_SOFTWARE Apache/2.4.7 (Ubuntu) \r\nSERVER_NAME lrs.learning-templates.com \r\nSERVER_ADDR 64.140.158.249 \r\nSERVER_PORT 80 \r\nREMOTE_ADDR 70.81.17.85 \r\nDOCUMENT_ROOT /var/www/learninglocker/public \r\nREQUEST_SCHEME http \r\nCONTEXT_PREFIX  \r\nCONTEXT_DOCUMENT_ROOT /var/www/learninglocker/public \r\nSERVER_ADMIN [no address given] \r\nSCRIPT_FILENAME /var/www/learninglocker/public/index.php \r\nREMOTE_PORT 49448 \r\nREDIRECT_URL /lrs/57b48169768d88f00e8b4567/statements \r\nGATEWAY_INTERFACE CGI/1.1 \r\nSERVER_PROTOCOL HTTP/1.1 \r\nREQUEST_METHOD GET \r\nQUERY_STRING  \r\nREQUEST_URI /lrs/57b48169768d88f00e8b4567/statements \r\nSCRIPT_NAME /index.php \r\nPHP_SELF /index.php \r\nREQUEST_TIME_FLOAT 1471457589.313 \r\nREQUEST_TIME 1471457589 \r\n\r\nNo Env. Vars.\r\n\r\nNo Registered Handlers\r\n\r\nFinal output: 0. Whoops\\Handler\\PrettyPageHandler\r\n\r\nIMPORTANT NOTE:  If I view statements from within a report, they are correctly displayed."},"comment":{"url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/comments/241007476","html_url":"https://github.com/LearningLocker/learninglocker/issues/854#issuecomment-241007476","issue_url":"https://api.github.com/repos/LearningLocker/learninglocker/issues/854","id":241007476,"user":{"login":"ryansmith94","id":3045513,"avatar_url":"https://avatars.githubusercontent.com/u/3045513?v=3","gravatar_id":"","url":"https://api.github.com/users/ryansmith94","html_url":"https://github.com/ryansmith94","followers_url":"https://api.github.com/users/ryansmith94/followers","following_url":"https://api.github.com/users/ryansmith94/following{/other_user}","gists_url":"https://api.github.com/users/ryansmith94/gists{/gist_id}","starred_url":"https://api.github.com/users/ryansmith94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryansmith94/subscriptions","organizations_url":"https://api.github.com/users/ryansmith94/orgs","repos_url":"https://api.github.com/users/ryansmith94/repos","events_url":"https://api.github.com/users/ryansmith94/events{/privacy}","received_events_url":"https://api.github.com/users/ryansmith94/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T12:39:46Z","updated_at":"2016-08-19T12:39:46Z","body":"Awesome! I'm glad the issue is resolved. You're very welcome for the clarification 👍 apologies that it caused some confusion."}}
{"actor":{"display_login":"ryansmith94"}}