{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/5187","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/5187/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/5187/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/5187/events","html_url":"https://github.com/magento/magento2/issues/5187","id":161937434,"number":5187,"title":"ui_component not honoring module.xml <sequence> when adding a new attribute to a category.","user":{"login":"paales","id":1244416,"avatar_url":"https://avatars.githubusercontent.com/u/1244416?v=3","gravatar_id":"","url":"https://api.github.com/users/paales","html_url":"https://github.com/paales","followers_url":"https://api.github.com/users/paales/followers","following_url":"https://api.github.com/users/paales/following{/other_user}","gists_url":"https://api.github.com/users/paales/gists{/gist_id}","starred_url":"https://api.github.com/users/paales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paales/subscriptions","organizations_url":"https://api.github.com/users/paales/orgs","repos_url":"https://api.github.com/users/paales/repos","events_url":"https://api.github.com/users/paales/events{/privacy}","received_events_url":"https://api.github.com/users/paales/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-23T14:31:27Z","updated_at":"2016-07-22T11:14:31Z","closed_at":null,"body":"Version: 2.1.0-rc3\r\n\r\nI want to add a new field to a category, but the module.xml <sequence> loading order doesn't seem to be honored. This causes problem with the fieldset ordering.\r\n\r\n### Steps to reproduce\r\n\r\nCreated a module with:\r\n```XML\r\n<?xml version=\"1.0\"?>\r\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\r\n    <module name=\"Ho_Import\" setup_version=\"0.1.0\">\r\n        <sequence>\r\n            <module name=\"Magento_Catalog\"/>\r\n        </sequence>\r\n    </module>\r\n</config>\r\n```\r\nVerified that the file is loaded by adding `Ho_Import` module as a dependency, causing an error.\r\n\r\nCreated a file with path: `Ho/Import/view/adminhtml/ui_component/category_form.xml`:\r\n```XML\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!--\r\n/**\r\n * Copyright (c) 2016 H&O E-commerce specialisten B.V. (http://www.h-o.nl/)\r\n * See LICENSE.txt for license details.\r\n */\r\n-->\r\n<form xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n      xsi:noNamespaceSchemaLocation=\"urn:magento:module:Magento_Ui:etc/ui_configuration.xsd\">\r\n    <fieldset name=\"content\">\r\n    </fieldset>\r\n</form>\r\n```\r\n\r\n### Expected result\r\nNo changes to the category edit page:\r\n![schermafbeelding 2016-06-23 om 16 29 08](https://cloud.githubusercontent.com/assets/1244416/16306911/a22723ce-395f-11e6-8fa2-2ae929df4c12.png)\r\n\r\n### Actual result\r\nContent is now placed above the `general` fieldset:\r\n![schermafbeelding 2016-06-23 om 16 26 53](https://cloud.githubusercontent.com/assets/1244416/16306830/56b2ab0c-395f-11e6-8aaf-c7071abddf4a.png)\r\n\r\nI'm not really sure how to debug this further, but it seems the ui_component .xml file loader doesn't check the loading order of files.\r\n\r\n### Additional fix / work around\r\nBesides that the loading order isn't properly set the `general` fieldset should also have their sortOrder defined.\r\n\r\nhttps://github.com/magento/magento2/blob/develop/app/code/Magento/Catalog/view/adminhtml/ui_component/category_form.xml#L47-L52"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/234518576","html_url":"https://github.com/magento/magento2/issues/5187#issuecomment-234518576","issue_url":"https://api.github.com/repos/magento/magento2/issues/5187","id":234518576,"user":{"login":"paales","id":1244416,"avatar_url":"https://avatars.githubusercontent.com/u/1244416?v=3","gravatar_id":"","url":"https://api.github.com/users/paales","html_url":"https://github.com/paales","followers_url":"https://api.github.com/users/paales/followers","following_url":"https://api.github.com/users/paales/following{/other_user}","gists_url":"https://api.github.com/users/paales/gists{/gist_id}","starred_url":"https://api.github.com/users/paales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paales/subscriptions","organizations_url":"https://api.github.com/users/paales/orgs","repos_url":"https://api.github.com/users/paales/repos","events_url":"https://api.github.com/users/paales/events{/privacy}","received_events_url":"https://api.github.com/users/paales/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T11:14:31Z","updated_at":"2016-07-22T11:14:31Z","body":"Hmm, I'll have to check if the problem is solved when disabling/reenabling the module so that the module orders get properly set in config.php"}}
{"actor":{"display_login":"paales"}}