{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/18668","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/18668/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/18668/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/18668/events","html_url":"https://github.com/magento/magento2/issues/18668","id":370991780,"node_id":"MDU6SXNzdWUzNzA5OTE3ODA=","number":18668,"title":"Intercepted classes don't work correctly when using ReflectionClass - Integration Tests","user":{"login":"domeglic","id":8225737,"node_id":"MDQ6VXNlcjgyMjU3Mzc=","avatar_url":"https://avatars1.githubusercontent.com/u/8225737?v=4","gravatar_id":"","url":"https://api.github.com/users/domeglic","html_url":"https://github.com/domeglic","followers_url":"https://api.github.com/users/domeglic/followers","following_url":"https://api.github.com/users/domeglic/following{/other_user}","gists_url":"https://api.github.com/users/domeglic/gists{/gist_id}","starred_url":"https://api.github.com/users/domeglic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domeglic/subscriptions","organizations_url":"https://api.github.com/users/domeglic/orgs","repos_url":"https://api.github.com/users/domeglic/repos","events_url":"https://api.github.com/users/domeglic/events{/privacy}","received_events_url":"https://api.github.com/users/domeglic/received_events","type":"User","site_admin":false},"labels":[{"id":688811200,"node_id":"MDU6TGFiZWw2ODg4MTEyMDA=","url":"https://api.github.com/repos/magento/magento2/labels/Issue:%20Format%20is%20valid","name":"Issue: Format is valid","color":"0e8a16","default":false},{"id":161563561,"node_id":"MDU6TGFiZWwxNjE1NjM1NjE=","url":"https://api.github.com/repos/magento/magento2/labels/Progress:%20needs%20update","name":"Progress: needs update","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"engcom-backlog-nazar","id":40756439,"node_id":"MDQ6VXNlcjQwNzU2NDM5","avatar_url":"https://avatars2.githubusercontent.com/u/40756439?v=4","gravatar_id":"","url":"https://api.github.com/users/engcom-backlog-nazar","html_url":"https://github.com/engcom-backlog-nazar","followers_url":"https://api.github.com/users/engcom-backlog-nazar/followers","following_url":"https://api.github.com/users/engcom-backlog-nazar/following{/other_user}","gists_url":"https://api.github.com/users/engcom-backlog-nazar/gists{/gist_id}","starred_url":"https://api.github.com/users/engcom-backlog-nazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engcom-backlog-nazar/subscriptions","organizations_url":"https://api.github.com/users/engcom-backlog-nazar/orgs","repos_url":"https://api.github.com/users/engcom-backlog-nazar/repos","events_url":"https://api.github.com/users/engcom-backlog-nazar/events{/privacy}","received_events_url":"https://api.github.com/users/engcom-backlog-nazar/received_events","type":"User","site_admin":false},"assignees":[{"login":"engcom-backlog-nazar","id":40756439,"node_id":"MDQ6VXNlcjQwNzU2NDM5","avatar_url":"https://avatars2.githubusercontent.com/u/40756439?v=4","gravatar_id":"","url":"https://api.github.com/users/engcom-backlog-nazar","html_url":"https://github.com/engcom-backlog-nazar","followers_url":"https://api.github.com/users/engcom-backlog-nazar/followers","following_url":"https://api.github.com/users/engcom-backlog-nazar/following{/other_user}","gists_url":"https://api.github.com/users/engcom-backlog-nazar/gists{/gist_id}","starred_url":"https://api.github.com/users/engcom-backlog-nazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engcom-backlog-nazar/subscriptions","organizations_url":"https://api.github.com/users/engcom-backlog-nazar/orgs","repos_url":"https://api.github.com/users/engcom-backlog-nazar/repos","events_url":"https://api.github.com/users/engcom-backlog-nazar/events{/privacy}","received_events_url":"https://api.github.com/users/engcom-backlog-nazar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-10-17T09:56:10Z","updated_at":"2018-11-28T07:05:12Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nPlease review our guidelines before adding a new issue: https://github.com/magento/magento2/wiki/Issue-reporting-guidelines\r\nFields marked with (*) are required. Please don't remove the template.\r\n-->\r\n\r\n### Summary (*)\r\nCreating a store inside integration tests doesn't work if there is a plugin defined for `Magento\\Framework\\App\\Config`.  \r\n\r\nI have a test that requires a new store and it is not possible to save it. There is an exception \"Property data does not exist\".  \r\nWhen saving a store, method `\\Magento\\TestFramework\\Store\\StoreManager::reinitStores` is called, the reflection class will only have properties from the `Interceptor` class and not `\\Magento\\TestFramework\\App\\Config`.\r\n\r\nPHP: 7.0\r\nMagento: 2.2.6\r\n<!--- Describe the issue you are experiencing. Include general information, error messages, environments, and so on. -->\r\n\r\n### Examples (*)\r\nCreate a plugin for Config, doesn't matter what it does:\r\n```xml\r\n<type name=\"Magento\\Framework\\App\\Config\">\r\n        <plugin name=\"some_plugin\" type=\"Some\\Vendor\\Plugin\\FrameworkAppConfig\" />\r\n</type>\r\n```\r\nHave an integration test that creates a new store:\r\n```php\r\n$store = \\Magento\\TestFramework\\Helper\\Bootstrap::getObjectManager(\\Magento\\Store\\Model\\Store::class)->create();  \r\n$store->setCode('new_store)->setWebsiteId(1)->setGroupId(1)->setName('New store')->setIsActive(true);  \r\n\\Magento\\TestFramework\\Helper\\Bootstrap::getObjectManager(\\Magento\\Store\\Model\\ResourceModel\\Store::class)->save($store);\r\n```\r\n<!--- Provide code examples or a patch with a test (recommended) to clearly indicate the problem. -->\r\n\r\n### Proposed solution\r\n<!--- Suggest your potential solutions for this issue. -->\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/442342023","html_url":"https://github.com/magento/magento2/issues/18668#issuecomment-442342023","issue_url":"https://api.github.com/repos/magento/magento2/issues/18668","id":442342023,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjM0MjAyMw==","user":{"login":"magento-engcom-team","id":31669971,"node_id":"MDQ6VXNlcjMxNjY5OTcx","avatar_url":"https://avatars1.githubusercontent.com/u/31669971?v=4","gravatar_id":"","url":"https://api.github.com/users/magento-engcom-team","html_url":"https://github.com/magento-engcom-team","followers_url":"https://api.github.com/users/magento-engcom-team/followers","following_url":"https://api.github.com/users/magento-engcom-team/following{/other_user}","gists_url":"https://api.github.com/users/magento-engcom-team/gists{/gist_id}","starred_url":"https://api.github.com/users/magento-engcom-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento-engcom-team/subscriptions","organizations_url":"https://api.github.com/users/magento-engcom-team/orgs","repos_url":"https://api.github.com/users/magento-engcom-team/repos","events_url":"https://api.github.com/users/magento-engcom-team/events{/privacy}","received_events_url":"https://api.github.com/users/magento-engcom-team/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T07:05:12Z","updated_at":"2018-11-28T07:05:12Z","author_association":"CONTRIBUTOR","body":"Hi @engcom-backlog-nazar. Thank you for working on this issue. \nIn order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:\n- [ ] 1. Verify that issue has all the required information. (**Preconditions**, **Steps to reproduce**, **Expected result**, **Actual result**).<details><summary>Details</summary>If the issue has a valid description, the label `Issue: Format is valid` will be added to the issue automatically. Please, edit issue description if needed, until label `Issue: Format is valid` appears.</details>\n\n- [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add `Issue: Clear Description` label to the issue by yourself.\n\n- [ ] 3. Add `Component: XXXXX` label(s) to the ticket, indicating the components it may be related to.\n- [ ] 4. Verify that the issue is reproducible on `2.3-develop` branch<details><summary>Details</summary>- Add the comment `@magento-engcom-team give me 2.3-develop instance` to deploy test instance on Magento infrastructure. <br/> - If the issue is reproducible on `2.3-develop` branch, please, add the label `Reproduced on 2.3.x`.<br/>- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and **_stop verification process here_**!\n</details>\n\n- [ ] 5. Verify that the issue is reproducible on `2.2-develop` branch. <details><summary>Details</summary>- Add the comment `@magento-engcom-team give me 2.2-develop instance` to deploy test instance on Magento infrastructure. <br/>- If the issue is reproducible on `2.2-develop` branch, please add the label `Reproduced on 2.2.x`</details>\n\n- [ ] 6. Add label `Issue: Confirmed` once verification is complete. \n\n- [ ] 7. Make sure that automatic system confirms that report has been added to the backlog."}}
{"actor":{"display_login":"magento-engcom-team"}}