{"action":"opened","issue":{"url":"https://api.github.com/repos/orocommerce/orocommerce/issues/29","repository_url":"https://api.github.com/repos/orocommerce/orocommerce","labels_url":"https://api.github.com/repos/orocommerce/orocommerce/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/orocommerce/orocommerce/issues/29/comments","events_url":"https://api.github.com/repos/orocommerce/orocommerce/issues/29/events","html_url":"https://github.com/orocommerce/orocommerce/issues/29","id":221681848,"number":29,"title":"Front-end brakes when Products in the shopping-list are changed in the admin.","user":{"login":"Dr-Head","id":3766584,"avatar_url":"https://avatars3.githubusercontent.com/u/3766584?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr-Head","html_url":"https://github.com/Dr-Head","followers_url":"https://api.github.com/users/Dr-Head/followers","following_url":"https://api.github.com/users/Dr-Head/following{/other_user}","gists_url":"https://api.github.com/users/Dr-Head/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr-Head/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr-Head/subscriptions","organizations_url":"https://api.github.com/users/Dr-Head/orgs","repos_url":"https://api.github.com/users/Dr-Head/repos","events_url":"https://api.github.com/users/Dr-Head/events{/privacy}","received_events_url":"https://api.github.com/users/Dr-Head/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-13T21:04:23Z","updated_at":"2017-04-13T21:04:23Z","closed_at":null,"body":"**Duplication steps**\r\n1. Add a configurable product to my shopping list.\r\n2. Then uncheck(removed and added them back _not delete_) the children products and rechecked them in the admin.\r\n3. Then go back to the front-end and we get an error about: \r\n\"Can't 'getString()' of value Null\"\r\n\r\n```\r\nLine 156 of mvp-swag/vendor/oro/commerce/src/Oro/Bundle/ShoppingListBundle/Entity/Repository/LineItemRepository.php \r\n\r\n$productName = $lineItem->getProduct()->getName()->getString();\r\n```\r\n\r\n_Temporary resolution_\r\nThe only way I could resolve this issue was to comment out the line and then the front-end would load. \r\nThen I had to go in and remove the item from my shopping-list. "}}
{"actor":{"display_login":"Dr-Head"}}