Skip to content

Commit 31a28e8

Browse files
Logvin, Michael(mlogvin)Logvin, Michael(mlogvin)
authored andcommitted
Merge pull request #192 from magento-firedrakes/bugfixes
[Firedrakes && South && WebDev] Bugfixes
2 parents f3bf4cb + 30aacd9 commit 31a28e8

File tree

20 files changed

+75
-45
lines changed

20 files changed

+75
-45
lines changed

app/code/Magento/Backend/i18n/en_US.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ password,password
361361
"Shipping Amount","Shipping Amount"
362362
"Tax Amount","Tax Amount"
363363
"Browse Files...","Browse Files..."
364-
"Magento is an eBay Inc. company. Copyright© %1 Magento, Inc. All rights reserved.","Magento is an eBay Inc. company. Copyright© %1 Magento, Inc. All rights reserved."
364+
"Copyright© %1 Magento Commerce Inc. All rights reserved.","Copyright© %1 Magento Commerce Inc. All rights reserved."
365365
"Magento ver. %1","Magento ver. %1"
366366
"Help Us Keep Magento Healthy - Report All Bugs","Help Us Keep Magento Healthy - Report All Bugs"
367367
"Account Setting","Account Setting"

app/code/Magento/Backend/view/adminhtml/templates/page/copyright.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
?>
1010
<a class="link-copyright" href="http://magento.com" target="_blank" title="<?php /* @escapeNotVerified */ echo __('Magento') ?>"></a>
11-
<?php /* @escapeNotVerified */ echo __('Copyright &copy; %1 Magento. All rights reserved.', date('Y')) ?>
11+
<?php /* @escapeNotVerified */ echo __('Copyright&copy; %1 Magento Commerce Inc. All rights reserved.', date('Y')) ?>

app/code/Magento/Customer/Model/ResourceModel/Customer/Grid.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ protected function getCustomerIdsForReindex()
6363
$gridTableName = $this->flatScopeResolver->resolve(Customer::CUSTOMER_GRID_INDEXER_ID, []);
6464

6565
$select = $connection->select()
66-
->from($connection->getTableName($gridTableName), 'last_visit_at')
66+
->from($this->resource->getTableName($gridTableName), 'last_visit_at')
6767
->order('last_visit_at DESC')
6868
->limit(1);
6969
$lastVisitAt = $connection->query($select)->fetchColumn();
7070

7171
$select = $connection->select()
72-
->from($connection->getTableName('customer_log'), 'customer_id')
72+
->from($this->resource->getTableName('customer_log'), 'customer_id')
7373
->where('last_login_at > ?', $lastVisitAt);
7474

7575
$customerIds = [];

app/code/Magento/Customer/Test/Unit/Block/Account/Dashboard/InfoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class InfoTest extends \PHPUnit_Framework_TestCase
2121

2222
const CHANGE_PASSWORD_URL = 'http://localhost/index.php/account/edit/changepass/1';
2323

24-
const EMAIL_ADDRESS = 'john.doe@ebay.com';
24+
const EMAIL_ADDRESS = 'john.doe@example.com';
2525

2626
/** @var \PHPUnit_Framework_MockObject_MockObject | \Magento\Framework\View\Element\Template\Context */
2727
private $_context;

app/code/Magento/Customer/Test/Unit/Model/ResourceModel/Customer/GridTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function testSyncCustomerGrid()
9090
->with(\Magento\Customer\Model\Customer::CUSTOMER_GRID_INDEXER_ID, [])
9191
->willReturn($gridTable);
9292

93-
$this->connection->expects($this->exactly(2))
93+
$this->resource->expects($this->exactly(2))
9494
->method('getTableName')
9595
->willReturnMap([
9696
[$gridTable],

app/code/Magento/Sales/etc/fieldset.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,6 @@
508508
</field>
509509
<field name="base_shipping_amount">
510510
<aspect name="to_quote_address_shipping" />
511-
<aspect name="to_cm"/>
512511
</field>
513512
<field name="base_shipping_incl_tax">
514513
<aspect name="to_quote_address_shipping" />

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,11 +1152,22 @@ define([
11521152
jQuery('#edit_form').triggerHandler('save');
11531153
}
11541154
if (this.orderItemChanged) {
1155-
if (confirm('You have item changes')) {
1156-
disableAndSave();
1157-
} else {
1158-
this.itemsUpdate();
1159-
}
1155+
var self = this;
1156+
1157+
jQuery('#edit_form').trigger('processStop');
1158+
1159+
confirm({
1160+
content: jQuery.mage.__('You have item changes'),
1161+
actions: {
1162+
confirm: function() {
1163+
jQuery('#edit_form').trigger('processStart');
1164+
disableAndSave();
1165+
},
1166+
cancel: function() {
1167+
self.itemsUpdate();
1168+
}
1169+
}
1170+
});
11601171
} else {
11611172
disableAndSave();
11621173
}

app/code/Magento/Ui/Setup/InstallSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
8080
->addForeignKey(
8181
$setup->getFkName('ui_bookmark', 'user_id', 'admin_user', 'user_id'),
8282
'user_id',
83-
'admin_user',
83+
$setup->getTable('admin_user'),
8484
'user_id',
8585
Table::ACTION_CASCADE
8686
)

app/code/Magento/Ui/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"magento/module-backend": "100.0.*",
77
"magento/framework": "100.0.*",
88
"magento/module-eav": "100.0.*",
9-
"magento/module-authorization": "100.0.*"
9+
"magento/module-authorization": "100.0.*",
10+
"magento/module-user": "100.0.*"
1011
},
1112
"type": "magento2-module",
1213
"version": "100.0.1",
Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)