Skip to content

Commit

Permalink
Merge pull request #352 from magento-api/bug-fixes
Browse files Browse the repository at this point in the history
[API] Bug Fixes Sprint 62
  • Loading branch information
Korshenko, Olexii(okorshenko) committed Feb 5, 2016
2 parents a9797cd + 53ef00f commit 6ce74b2
Show file tree
Hide file tree
Showing 146 changed files with 2,394 additions and 636 deletions.
10 changes: 5 additions & 5 deletions app/code/Magento/AdminNotification/etc/acl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<resource id="Magento_Backend::admin">
<resource id="Magento_Backend::system">
<resource id="Magento_Backend::system_other_settings">
<resource id="Magento_AdminNotification::adminnotification" title="Notifications" sortOrder="10">
<resource id="Magento_AdminNotification::show_toolbar" title="Show Toolbar" sortOrder="10" />
<resource id="Magento_AdminNotification::show_list" title="Show List" sortOrder="20" />
<resource id="Magento_AdminNotification::mark_as_read" title="Mark as Read" sortOrder="30" />
<resource id="Magento_AdminNotification::adminnotification_remove" title="Remove" sortOrder="40" />
<resource id="Magento_AdminNotification::adminnotification" title="Notifications" translate="title" sortOrder="10">
<resource id="Magento_AdminNotification::show_toolbar" title="Show Toolbar" translate="title" sortOrder="10" />
<resource id="Magento_AdminNotification::show_list" title="Show List" translate="title" sortOrder="20" />
<resource id="Magento_AdminNotification::mark_as_read" title="Mark as Read" translate="title" sortOrder="30" />
<resource id="Magento_AdminNotification::adminnotification_remove" title="Remove" translate="title" sortOrder="40" />
</resource>
</resource>
</resource>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/AdminNotification/etc/adminhtml/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
<menu>
<add id="Magento_AdminNotification::system_adminnotification" title="Notifications" module="Magento_AdminNotification" sortOrder="10" parent="Magento_Backend::system_other_settings" action="adminhtml/notification" resource="Magento_AdminNotification::adminnotification"/>
<add id="Magento_AdminNotification::system_adminnotification" title="Notifications" translate="title" module="Magento_AdminNotification" sortOrder="10" parent="Magento_Backend::system_other_settings" action="adminhtml/notification" resource="Magento_AdminNotification::adminnotification"/>
</menu>
</config>
52 changes: 26 additions & 26 deletions app/code/Magento/Backend/etc/acl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,39 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::all" title="Allow everything" sortOrder="10" />
<resource id="Magento_Backend::admin" title="Magento Admin" sortOrder="20">
<resource id="Magento_Backend::dashboard" title="Dashboard" sortOrder="0" />
<resource id="Magento_Backend::global_search" title="Global Search" sortOrder="100" />
<resource id="Magento_Backend::myaccount" title="My Account" sortOrder="50" />
<resource id="Magento_Backend::marketing" title="Marketing" sortOrder="50">
<resource id="Magento_Backend::marketing_seo" title="SEO &amp; Search" sortOrder="40" />
<resource id="Magento_Backend::marketing_user_content" title="User Content" sortOrder="50" />
<resource id="Magento_Backend::all" title="Allow everything" translate="title" sortOrder="10" />
<resource id="Magento_Backend::admin" title="Magento Admin" translate="title" sortOrder="20">
<resource id="Magento_Backend::dashboard" title="Dashboard" translate="title" sortOrder="0" />
<resource id="Magento_Backend::global_search" title="Global Search" translate="title" sortOrder="100" />
<resource id="Magento_Backend::myaccount" title="My Account" translate="title" sortOrder="50" />
<resource id="Magento_Backend::marketing" title="Marketing" translate="title" sortOrder="50">
<resource id="Magento_Backend::marketing_seo" title="SEO &amp; Search" translate="title" sortOrder="40" />
<resource id="Magento_Backend::marketing_user_content" title="User Content" translate="title" sortOrder="50" />
</resource>
<resource id="Magento_Backend::content" title="Content" sortOrder="60">
<resource id="Magento_Backend::content_elements" title="Elements" sortOrder="10" />
<resource id="Magento_Backend::design" title="Design" sortOrder="20">
<resource id="Magento_Backend::schedule" title="Schedule" sortOrder="30" />
<resource id="Magento_Backend::content" title="Content" translate="title" sortOrder="60">
<resource id="Magento_Backend::content_elements" title="Elements" translate="title" sortOrder="10" />
<resource id="Magento_Backend::design" title="Design" translate="title" sortOrder="20">
<resource id="Magento_Backend::schedule" title="Schedule" translate="title" sortOrder="30" />
</resource>
</resource>
<resource id="Magento_Backend::stores" title="Stores" sortOrder="80">
<resource id="Magento_Backend::stores_settings" title="Settings" sortOrder="10">
<resource id="Magento_Backend::store" title="All Stores" sortOrder="10"/>
<resource id="Magento_Backend::stores" title="Stores" translate="title" sortOrder="80">
<resource id="Magento_Backend::stores_settings" title="Settings" translate="title" sortOrder="10">
<resource id="Magento_Backend::store" title="All Stores" translate="title" sortOrder="10"/>
</resource>
<resource id="Magento_Backend::stores_attributes" title="Attributes" sortOrder="40" />
<resource id="Magento_Backend::stores_other_settings" title="Other Settings" sortOrder="50" />
<resource id="Magento_Backend::stores_attributes" title="Attributes" translate="title" sortOrder="40" />
<resource id="Magento_Backend::stores_other_settings" title="Other Settings" translate="title" sortOrder="50" />
</resource>
<resource id="Magento_Backend::system" title="System" sortOrder="90">
<resource id="Magento_Backend::convert" title="Data Transfer" sortOrder="10" />
<resource id="Magento_Backend::extensions" title="Magento Connect" sortOrder="20">
<resource id="Magento_Backend::local" title="Connect Manager" sortOrder="10" />
<resource id="Magento_Backend::custom" title="Package Extensions" sortOrder="20" />
<resource id="Magento_Backend::system" title="System" translate="title" sortOrder="90">
<resource id="Magento_Backend::convert" title="Data Transfer" translate="title" sortOrder="10" />
<resource id="Magento_Backend::extensions" title="Magento Connect" translate="title" sortOrder="20">
<resource id="Magento_Backend::local" title="Connect Manager" translate="title" sortOrder="10" />
<resource id="Magento_Backend::custom" title="Package Extensions" translate="title" sortOrder="20" />
</resource>
<resource id="Magento_Backend::tools" title="Tools" sortOrder="50">
<resource id="Magento_Backend::cache" title="Cache Management" sortOrder="10" />
<resource id="Magento_Backend::setup_wizard" title="Web Setup Wizard" sortOrder="20" />
<resource id="Magento_Backend::tools" title="Tools" translate="title" sortOrder="50">
<resource id="Magento_Backend::cache" title="Cache Management" translate="title" sortOrder="10" />
<resource id="Magento_Backend::setup_wizard" title="Web Setup Wizard" translate="title" sortOrder="20" />
</resource>
<resource id="Magento_Backend::system_other_settings" title="Other Settings" sortOrder="80" />
<resource id="Magento_Backend::system_other_settings" title="Other Settings" translate="title" sortOrder="80" />
</resource>
</resource>
</resources>
Expand Down
42 changes: 21 additions & 21 deletions app/code/Magento/Backend/etc/adminhtml/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
<menu>
<add id="Magento_Backend::system_design_schedule" title="Schedule" module="Magento_Backend" sortOrder="30" parent="Magento_Backend::system_design" action="adminhtml/system_design" resource="Magento_Backend::schedule"/>
<add id="Magento_Backend::system_currency" title="Currency" module="Magento_Backend" sortOrder="30" parent="Magento_Backend::stores" action="adminhtml/system_currency" resource="Magento_CurrencySymbol::system_currency"/>
<add id="Magento_Backend::system_store" title="All Stores" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::stores_settings" action="adminhtml/system_store/" resource="Magento_Backend::store"/>
<add id="Magento_Backend::dashboard" title="Dashboard" module="Magento_Backend" sortOrder="10" action="adminhtml/dashboard" resource="Magento_Backend::dashboard"/>
<add id="Magento_Backend::system" title="System" module="Magento_Backend" sortOrder="80" resource="Magento_Backend::system"/>
<add id="Magento_Backend::system_tools" title="Tools" module="Magento_Backend" sortOrder="50" parent="Magento_Backend::system" resource="Magento_Backend::tools"/>
<add id="Magento_Backend::system_design" title="Design" module="Magento_Backend" sortOrder="20" parent="Magento_Backend::content" resource="Magento_Backend::design"/>
<add id="Magento_Backend::system_convert" title="Data Transfer" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::system" resource="Magento_Backend::convert"/>
<add id="Magento_Backend::system_cache" title="Cache Management" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::system_tools" action="adminhtml/cache" resource="Magento_Backend::cache"/>
<add id="Magento_Backend::marketing" title="Marketing" module="Magento_Backend" sortOrder="40" resource="Magento_Backend::marketing"/>
<add id="Magento_Backend::marketing_communications" title="Communications" module="Magento_Backend" sortOrder="30" parent="Magento_Backend::marketing" resource="Magento_Backend::marketing_communications"/>
<add id="Magento_Backend::marketing_seo" title="SEO &amp; Search" module="Magento_Backend" sortOrder="40" parent="Magento_Backend::marketing" resource="Magento_Backend::marketing_seo"/>
<add id="Magento_Backend::marketing_user_content" title="User Content" module="Magento_Backend" sortOrder="50" parent="Magento_Backend::marketing" resource="Magento_Backend::marketing_user_content"/>
<add id="Magento_Backend::content" title="Content" module="Magento_Backend" sortOrder="50" resource="Magento_Backend::content"/>
<add id="Magento_Backend::content_elements" title="Elements" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::content" resource="Magento_Backend::content_elements"/>
<add id="Magento_Backend::stores" title="Stores" module="Magento_Backend" sortOrder="70" resource="Magento_Backend::stores"/>
<add id="Magento_Backend::stores_settings" title="Settings" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::stores" resource="Magento_Backend::stores_settings"/>
<add id="Magento_Backend::stores_attributes" title="Attributes" module="Magento_Backend" sortOrder="40" parent="Magento_Backend::stores" resource="Magento_Backend::stores_attributes"/>
<add id="Magento_Backend::other_settings" title="Other Settings" module="Magento_Backend" sortOrder="50" parent="Magento_Backend::stores" resource="Magento_Backend::stores_other_settings"/>
<add id="Magento_Backend::system_other_settings" title="Other Settings" module="Magento_Backend" sortOrder="80" parent="Magento_Backend::system" resource="Magento_Backend::system_other_settings"/>
<add id="Magento_Backend::setup_wizard" action="adminhtml/backendapp/redirect/app/setup" title="Web Setup Wizard" module="Magento_Backend" sortOrder="80" parent="Magento_Backend::system_tools" resource="Magento_Backend::setup_wizard"/>
<add id="Magento_Backend::system_design_schedule" title="Schedule" translate="title" module="Magento_Backend" sortOrder="30" parent="Magento_Backend::system_design" action="adminhtml/system_design" resource="Magento_Backend::schedule"/>
<add id="Magento_Backend::system_currency" title="Currency" translate="title" module="Magento_Backend" sortOrder="30" parent="Magento_Backend::stores" action="adminhtml/system_currency" resource="Magento_CurrencySymbol::system_currency"/>
<add id="Magento_Backend::system_store" title="All Stores" translate="title" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::stores_settings" action="adminhtml/system_store/" resource="Magento_Backend::store"/>
<add id="Magento_Backend::dashboard" title="Dashboard" translate="title" module="Magento_Backend" sortOrder="10" action="adminhtml/dashboard" resource="Magento_Backend::dashboard"/>
<add id="Magento_Backend::system" title="System" translate="title" module="Magento_Backend" sortOrder="80" resource="Magento_Backend::system"/>
<add id="Magento_Backend::system_tools" title="Tools" translate="title" module="Magento_Backend" sortOrder="50" parent="Magento_Backend::system" resource="Magento_Backend::tools"/>
<add id="Magento_Backend::system_design" title="Design" translate="title" module="Magento_Backend" sortOrder="20" parent="Magento_Backend::content" resource="Magento_Backend::design"/>
<add id="Magento_Backend::system_convert" title="Data Transfer" translate="title" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::system" resource="Magento_Backend::convert"/>
<add id="Magento_Backend::system_cache" title="Cache Management" translate="title" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::system_tools" action="adminhtml/cache" resource="Magento_Backend::cache"/>
<add id="Magento_Backend::marketing" title="Marketing" translate="title" module="Magento_Backend" sortOrder="40" resource="Magento_Backend::marketing"/>
<add id="Magento_Backend::marketing_communications" title="Communications" translate="title" module="Magento_Backend" sortOrder="30" parent="Magento_Backend::marketing" resource="Magento_Backend::marketing_communications"/>
<add id="Magento_Backend::marketing_seo" title="SEO &amp; Search" translate="title" module="Magento_Backend" sortOrder="40" parent="Magento_Backend::marketing" resource="Magento_Backend::marketing_seo"/>
<add id="Magento_Backend::marketing_user_content" title="User Content" translate="title" module="Magento_Backend" sortOrder="50" parent="Magento_Backend::marketing" resource="Magento_Backend::marketing_user_content"/>
<add id="Magento_Backend::content" title="Content" translate="title" module="Magento_Backend" sortOrder="50" resource="Magento_Backend::content"/>
<add id="Magento_Backend::content_elements" title="Elements" translate="title" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::content" resource="Magento_Backend::content_elements"/>
<add id="Magento_Backend::stores" title="Stores" translate="title" module="Magento_Backend" sortOrder="70" resource="Magento_Backend::stores"/>
<add id="Magento_Backend::stores_settings" title="Settings" translate="title" module="Magento_Backend" sortOrder="10" parent="Magento_Backend::stores" resource="Magento_Backend::stores_settings"/>
<add id="Magento_Backend::stores_attributes" title="Attributes" translate="title" module="Magento_Backend" sortOrder="40" parent="Magento_Backend::stores" resource="Magento_Backend::stores_attributes"/>
<add id="Magento_Backend::other_settings" title="Other Settings" translate="title" module="Magento_Backend" sortOrder="50" parent="Magento_Backend::stores" resource="Magento_Backend::stores_other_settings"/>
<add id="Magento_Backend::system_other_settings" title="Other Settings" translate="title" module="Magento_Backend" sortOrder="80" parent="Magento_Backend::system" resource="Magento_Backend::system_other_settings"/>
<add id="Magento_Backend::setup_wizard" action="adminhtml/backendapp/redirect/app/setup" title="Web Setup Wizard" translate="title" module="Magento_Backend" sortOrder="80" parent="Magento_Backend::system_tools" resource="Magento_Backend::setup_wizard"/>
</menu>
</config>
3 changes: 2 additions & 1 deletion app/code/Magento/Backend/etc/menu.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<xs:attribute name="resource" type="typeResource" use="required" />
<xs:attribute name="dependsOnModule" type="typeModule" use="optional" />
<xs:attribute name="dependsOnConfig" type="typeDependsConfig" use="optional" />
<xs:attribute name="translate" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="update">
Expand All @@ -49,6 +50,7 @@
<xs:attribute name="resource" type="typeResource" use="optional" />
<xs:attribute name="dependsOnModule" type="typeModule" use="optional" />
<xs:attribute name="dependsOnConfig" type="typeDependsConfig" use="optional" />
<xs:attribute name="translate" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="remove">
Expand All @@ -64,7 +66,6 @@
</xs:choice>
</xs:sequence>
</xs:complexType>

<xs:unique name="uniqueAddItemId">
<xs:annotation>
<xs:documentation>
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Backup/etc/acl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<resource id="Magento_Backend::admin">
<resource id="Magento_Backend::system">
<resource id="Magento_Backend::tools">
<resource id="Magento_Backup::backup" title="Backups" sortOrder="30">
<resource id="Magento_Backup::rollback" title="Rollback" />
<resource id="Magento_Backup::backup" title="Backups" translate="title" sortOrder="30">
<resource id="Magento_Backup::rollback" title="Rollback" translate="title" />
</resource>
</resource>
</resource>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backup/etc/adminhtml/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
<menu>
<add id="Magento_Backup::system_tools_backup" title="Backups" module="Magento_Backup" sortOrder="30" parent="Magento_Backend::system_tools" action="backup/index" resource="Magento_Backup::backup"/>
<add id="Magento_Backup::system_tools_backup" title="Backups" translate="title" module="Magento_Backup" sortOrder="30" parent="Magento_Backend::system_tools" action="backup/index" resource="Magento_Backup::backup"/>
</menu>
</config>
Loading

0 comments on commit 6ce74b2

Please sign in to comment.