{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/7273","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/7273/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/7273/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/7273/events","html_url":"https://github.com/magento/magento2/issues/7273","id":186753548,"number":7273,"title":"Remember me template is not loaded from the original module","user":{"login":"MarekKarmelski","id":14997797,"avatar_url":"https://avatars.githubusercontent.com/u/14997797?v=3","gravatar_id":"","url":"https://api.github.com/users/MarekKarmelski","html_url":"https://github.com/MarekKarmelski","followers_url":"https://api.github.com/users/MarekKarmelski/followers","following_url":"https://api.github.com/users/MarekKarmelski/following{/other_user}","gists_url":"https://api.github.com/users/MarekKarmelski/gists{/gist_id}","starred_url":"https://api.github.com/users/MarekKarmelski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarekKarmelski/subscriptions","organizations_url":"https://api.github.com/users/MarekKarmelski/orgs","repos_url":"https://api.github.com/users/MarekKarmelski/repos","events_url":"https://api.github.com/users/MarekKarmelski/events{/privacy}","received_events_url":"https://api.github.com/users/MarekKarmelski/received_events","type":"User","site_admin":false},"labels":[{"id":429635502,"url":"https://api.github.com/repos/magento/magento2/labels/2.1.x","name":"2.1.x","color":"fbca04","default":false},{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-02T09:45:06Z","updated_at":"2016-11-02T16:58:48Z","closed_at":"2016-11-02T16:52:51Z","body":"### Steps to reproduce\r\n<!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant  -->\r\n1. Install Magento from 2.1.2 branch.\r\n2. Create a module with a preference for the `Magento\\Persistent\\Block\\Form\\Remember`\r\n3. Preference in `di.xml`:\r\n`<preference for=\"Magento\\Persistent\\Block\\Form\\Remember\" type=\"MyCompany\\Module\\Block\\Persistent\\Form\\Remember\" />`\r\n4. Create your custom class:\r\n```\r\n<?php\r\n\r\nnamespace MyCompany\\Module\\Block\\Persistent\\Form;\r\n\r\nclass Remember extends \\Magento\\Persistent\\Block\\Form\\Remember\r\n{\r\n}\r\n```\r\n5. Reload your page.\r\n\r\n### Expected result\r\n<!--- Tell us what should happen -->\r\n1. Custom class is used\r\n2. No error.\r\n\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\n1. Custom class is used\r\n2. An error is triggered:\r\n`main.CRITICAL: Invalid template file: 'remember_me.phtml' in module: 'MyCompany_Module' block's name: 'persistent.remember.me' [] []`\r\n\r\n### Cause\r\n<!--- (This may be platform independent comment) -->\r\n\r\nThe template of this block is not prefixed with the module name: \r\n\r\nhttps://github.com/magento/magento2/blob/2.1/app/code/Magento/Persistent/view/frontend/layout/customer_account_create.xml#L11\r\n\r\nhttps://github.com/magento/magento2/blob/2.1/app/code/Magento/Persistent/view/frontend/layout/customer_account_login.xml#L11\r\n\r\nInstead of :\r\n\r\n`<block class=\"Magento\\Persistent\\Block\\Form\\Remember\" name=\"persistent.remember.me\" template=\"remember_me.phtml\" before=\"-\"/>`\r\n\r\nIt should be:\r\n\r\n`<block class=\"Magento\\Persistent\\Block\\Form\\Remember\" name=\"persistent.remember.me\" template=\"Magento_Persistent::remember_me.phtml\" before=\"-\"/>`\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/257928276","html_url":"https://github.com/magento/magento2/issues/7273#issuecomment-257928276","issue_url":"https://api.github.com/repos/magento/magento2/issues/7273","id":257928276,"user":{"login":"orlangur","id":642698,"avatar_url":"https://avatars.githubusercontent.com/u/642698?v=3","gravatar_id":"","url":"https://api.github.com/users/orlangur","html_url":"https://github.com/orlangur","followers_url":"https://api.github.com/users/orlangur/followers","following_url":"https://api.github.com/users/orlangur/following{/other_user}","gists_url":"https://api.github.com/users/orlangur/gists{/gist_id}","starred_url":"https://api.github.com/users/orlangur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orlangur/subscriptions","organizations_url":"https://api.github.com/users/orlangur/orgs","repos_url":"https://api.github.com/users/orlangur/repos","events_url":"https://api.github.com/users/orlangur/events{/privacy}","received_events_url":"https://api.github.com/users/orlangur/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T16:58:48Z","updated_at":"2016-11-02T16:58:48Z","body":"@olysenko what is the time frame for #1895 to be delivered? It exists for more than a year already and I don't observe any real movement in it."}}
{"actor":{"display_login":"orlangur"}}