{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/build-a-fraction/issues/6","repository_url":"https://api.github.com/repos/phetsims/build-a-fraction","labels_url":"https://api.github.com/repos/phetsims/build-a-fraction/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/build-a-fraction/issues/6/comments","events_url":"https://api.github.com/repos/phetsims/build-a-fraction/issues/6/events","html_url":"https://github.com/phetsims/build-a-fraction/issues/6","id":392430119,"node_id":"MDU6SXNzdWUzOTI0MzAxMTk=","number":6,"title":"Sim freezes after 1 targeted completed and attempting to collapse expanded container","user":{"login":"ariel-phet","id":4051174,"node_id":"MDQ6VXNlcjQwNTExNzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4051174?v=4","gravatar_id":"","url":"https://api.github.com/users/ariel-phet","html_url":"https://github.com/ariel-phet","followers_url":"https://api.github.com/users/ariel-phet/followers","following_url":"https://api.github.com/users/ariel-phet/following{/other_user}","gists_url":"https://api.github.com/users/ariel-phet/gists{/gist_id}","starred_url":"https://api.github.com/users/ariel-phet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariel-phet/subscriptions","organizations_url":"https://api.github.com/users/ariel-phet/orgs","repos_url":"https://api.github.com/users/ariel-phet/repos","events_url":"https://api.github.com/users/ariel-phet/events{/privacy}","received_events_url":"https://api.github.com/users/ariel-phet/received_events","type":"User","site_admin":false},"labels":[{"id":872604520,"node_id":"MDU6TGFiZWw4NzI2MDQ1MjA=","url":"https://api.github.com/repos/phetsims/build-a-fraction/labels/priority:2-high","name":"priority:2-high","color":"e11d21","default":false},{"id":872534623,"node_id":"MDU6TGFiZWw4NzI1MzQ2MjM=","url":"https://api.github.com/repos/phetsims/build-a-fraction/labels/type:bug","name":"type:bug","color":"FF00AA","default":false}],"state":"open","locked":false,"assignee":{"login":"jonathanolson","id":480878,"node_id":"MDQ6VXNlcjQ4MDg3OA==","avatar_url":"https://avatars3.githubusercontent.com/u/480878?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonathanolson","id":480878,"node_id":"MDQ6VXNlcjQ4MDg3OA==","avatar_url":"https://avatars3.githubusercontent.com/u/480878?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-12-19T03:51:11Z","updated_at":"2018-12-19T03:51:57Z","closed_at":null,"author_association":"NONE","body":"@phet-steele would be proud of me for this find...\r\n\r\nThis appears to happen on any Mixed Numbers \"Shapes\" challenges (numbers as targets, shapes to construct answers). Seen in https://phet-dev.colorado.edu/html/build-a-fraction/1.0.0-dev.12/phet/build-a-fraction_en_phet.html and reproduced on both Chrome and FF Win 7. Guessing it is a ubiquitous issue.\r\n\r\nSimplest reproducible case:\r\n1. Go to a simple level (ie level 2)\r\n2. Complete one target (this freeze only occurs if a target has been completed)\r\n3. Full expand a container in the play area\r\n4. Put one piece in the right most container\r\n5. Press the red collapse \"remove container\" button\r\n6. The sim will freeze and become unusable\r\n\r\nSaw this in the console:\r\n\r\n> Uncaught TypeError: this.returnPieceListener is not a function\r\n>     at i.value (build-a-fraction_en_phet.html:980)\r\n>     at e.value (build-a-fraction_en_phet.html:980)\r\n>     at e.fire (build-a-fraction_en_phet.html:980)\r\n>     at Array.a (build-a-fraction_en_phet.html:980)\r\n>     at e.value (build-a-fraction_en_phet.html:980)\r\n>     at e._notifyListeners (build-a-fraction_en_phet.html:980)\r\n>     at e.setValueAndNotifyListeners (build-a-fraction_en_phet.html:980)\r\n>     at e.set (build-a-fraction_en_phet.html:980)\r\n>     at e.value (build-a-fraction_en_phet.html:980)\r\n>     at e._notifyListeners (build-a-fraction_en_phet.html:980)\r\n\r\nPicture included for reference of frozen condition and steps above\r\n\r\n![baf](https://user-images.githubusercontent.com/4051174/50197931-a259ec00-0306-11e9-8b9f-2f5ca386f81e.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/phetsims/build-a-fraction/issues/comments/448460721","html_url":"https://github.com/phetsims/build-a-fraction/issues/6#issuecomment-448460721","issue_url":"https://api.github.com/repos/phetsims/build-a-fraction/issues/6","id":448460721,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODQ2MDcyMQ==","user":{"login":"ariel-phet","id":4051174,"node_id":"MDQ6VXNlcjQwNTExNzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4051174?v=4","gravatar_id":"","url":"https://api.github.com/users/ariel-phet","html_url":"https://github.com/ariel-phet","followers_url":"https://api.github.com/users/ariel-phet/followers","following_url":"https://api.github.com/users/ariel-phet/following{/other_user}","gists_url":"https://api.github.com/users/ariel-phet/gists{/gist_id}","starred_url":"https://api.github.com/users/ariel-phet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariel-phet/subscriptions","organizations_url":"https://api.github.com/users/ariel-phet/orgs","repos_url":"https://api.github.com/users/ariel-phet/repos","events_url":"https://api.github.com/users/ariel-phet/events{/privacy}","received_events_url":"https://api.github.com/users/ariel-phet/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T03:51:57Z","updated_at":"2018-12-19T03:51:57Z","author_association":"NONE","body":"@jonathanolson considering this bug high priority since it freezes the sim"}}
{"actor":{"display_login":"ariel-phet"}}