{"action":"opened","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/5761","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/5761/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/5761/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/5761/events","html_url":"https://github.com/magento/magento2/issues/5761","id":167034714,"number":5761,"title":"Single page checkout fatal error in 2.1.0","user":{"login":"OwenRay","id":971553,"avatar_url":"https://avatars.githubusercontent.com/u/971553?v=3","gravatar_id":"","url":"https://api.github.com/users/OwenRay","html_url":"https://github.com/OwenRay","followers_url":"https://api.github.com/users/OwenRay/followers","following_url":"https://api.github.com/users/OwenRay/following{/other_user}","gists_url":"https://api.github.com/users/OwenRay/gists{/gist_id}","starred_url":"https://api.github.com/users/OwenRay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwenRay/subscriptions","organizations_url":"https://api.github.com/users/OwenRay/orgs","repos_url":"https://api.github.com/users/OwenRay/repos","events_url":"https://api.github.com/users/OwenRay/events{/privacy}","received_events_url":"https://api.github.com/users/OwenRay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-22T12:27:09Z","updated_at":"2016-07-22T12:27:09Z","closed_at":null,"body":"Steps to reproduce\r\n--\r\n1. Install Magento from `2.1.0` branch.\r\n2. I've got two shipping methods\r\n3. Go to the cart page\r\n4. Go to the single page checkout\r\n\r\nExpected result\r\n--\r\n1. Page loads\r\n\r\nActual result\r\n--\r\n1. Page freezes with a spinner\r\n2. Console error: validator.js:38 Uncaught TypeError: rule.handler is not a function\r\n\r\n------\r\n\r\nWhen going to the checkout page directly, the issue does not occur.\r\nI found out this is because of the local storage: \"mage-cache-storage\"\r\nWhen going to checkout directly, it's null, and everything goes well.\r\n\r\nWhen going to edit cart first, it's filled with the following data: (modified for privacy)\r\n{\"postcode\":\"12345\",\"country_id\":\"AB\",\"region\":null,\"region_code\":null,\"customer_id\":\"1\",\"street\":{\"0\":\"street 1\"},\"telephone\":\"+123456789\",\"city\":\"smallvile\",\"firstname\":\"super\",\"lastname\":\"man\"},\"newCustomerShippingAddress\":null,\"selectedShippingRate\":\"freeshipping_freeshipping\",\"selectedPaymentMethod\":null,\"selectedBillingAddress\":null,\"billingAddressFormData\":null,\"newCustomerBillingAddress\":null}"}}
{"actor":{"display_login":"OwenRay"}}