Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit f89e04d

Browse files
committed
Merge branch '1.2-develop' into 2.2-develop_12705
2 parents 843bc62 + b09ab2a commit f89e04d

File tree

10 files changed

+43
-16
lines changed

10 files changed

+43
-16
lines changed

COPYING.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2013-2017 Magento, Inc.
1+
Copyright © 2013-2018 Magento, Inc.
22

33
Each Magento source file included in this distribution is licensed under OSL 3.0 or the Magento Enterprise Edition (MEE) license
44

app/code/Magento/Checkout/view/frontend/web/js/model/shipping-save-processor/payload-extender.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
2+
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
55
define(function () {

app/code/Magento/Customer/view/frontend/web/js/invalidation-processor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
2+
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
55
define([

app/code/Magento/Customer/view/frontend/web/js/invalidation-rules/website-rule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
2+
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
55
define([

app/code/Magento/Quote/Setup/UpgradeSchema.php

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66
namespace Magento\Quote\Setup;
77

8+
use Magento\Framework\DB\Ddl\Table;
89
use Magento\Framework\Setup\UpgradeSchemaInterface;
910
use Magento\Framework\Setup\ModuleContextInterface;
1011
use Magento\Framework\Setup\SchemaSetupInterface;
@@ -40,7 +41,7 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
4041
'street',
4142
'street',
4243
[
43-
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
44+
'type' => Table::TYPE_TEXT,
4445
'length' => 255,
4546
'comment' => 'Street'
4647
]
@@ -61,7 +62,7 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
6162
$setup->getTable('quote_address', self::$connectionName),
6263
'shipping_method',
6364
[
64-
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
65+
'type' => Table::TYPE_TEXT,
6566
'length' => 120
6667
]
6768
);
@@ -72,33 +73,53 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
7273
$setup->getTable('quote_address', self::$connectionName),
7374
'firstname',
7475
[
75-
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
76+
'type' => Table::TYPE_TEXT,
7677
'length' => 255,
7778
]
7879
)->modifyColumn(
7980
$setup->getTable('quote_address', self::$connectionName),
8081
'middlename',
8182
[
82-
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
83+
'type' => Table::TYPE_TEXT,
8384
'length' => 40,
8485
]
8586
)->modifyColumn(
8687
$setup->getTable('quote_address', self::$connectionName),
8788
'lastname',
8889
[
89-
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
90+
'type' => Table::TYPE_TEXT,
9091
'length' => 255,
9192
]
9293
)->modifyColumn(
9394
$setup->getTable('quote', self::$connectionName),
9495
'updated_at',
9596
[
96-
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TIMESTAMP,
97+
'type' => Table::TYPE_TIMESTAMP,
9798
'nullable' => false,
98-
'default' => \Magento\Framework\DB\Ddl\Table::TIMESTAMP_INIT_UPDATE,
99+
'default' => Table::TIMESTAMP_INIT_UPDATE,
99100
]
100101
);
101102
}
103+
if (version_compare($context->getVersion(), '2.0.7', '<')) {
104+
$connection = $setup->getConnection(self::$connectionName);
105+
$connection->modifyColumn(
106+
$setup->getTable('quote_address', self::$connectionName),
107+
'telephone',
108+
['type' => Table::TYPE_TEXT, 'length' => 255]
109+
)->modifyColumn(
110+
$setup->getTable('quote_address', self::$connectionName),
111+
'fax',
112+
['type' => Table::TYPE_TEXT, 'length' => 255]
113+
)->modifyColumn(
114+
$setup->getTable('quote_address', self::$connectionName),
115+
'region',
116+
['type' => Table::TYPE_TEXT, 'length' => 255]
117+
)->modifyColumn(
118+
$setup->getTable('quote_address', self::$connectionName),
119+
'city',
120+
['type' => Table::TYPE_TEXT, 'length' => 255]
121+
);
122+
}
102123
$setup->endSetup();
103124
}
104125
}

app/code/Magento/Quote/etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
9-
<module name="Magento_Quote" setup_version="2.0.6">
9+
<module name="Magento_Quote" setup_version="2.0.7">
1010
</module>
1111
</config>

app/code/Magento/Theme/Block/Html/Topmenu.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,13 @@ protected function _getHtml(
235235

236236
if ($childLevel == 0 && $outermostClass) {
237237
$outermostClassCode = ' class="' . $outermostClass . '" ';
238-
$child->setClass($outermostClass);
238+
$currentClass = $child->getClass();
239+
240+
if (empty($currentClass)) {
241+
$child->setClass($outermostClass);
242+
} else {
243+
$child->setClass($currentClass . ' ' . $outermostClass);
244+
}
239245
}
240246

241247
if (count($colBrakes) && $colBrakes[$counter]['colbrake']) {

app/code/Magento/Theme/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Disallow: /*SID=
4545
<welcome>Default welcome msg!</welcome>
4646
</header>
4747
<footer translate="copyright">
48-
<copyright>Copyright &#169; 2013-2017 Magento, Inc. All rights reserved.</copyright>
48+
<copyright>Copyright &#169; 2013-2018 Magento, Inc. All rights reserved.</copyright>
4949
</footer>
5050
</design>
5151
<theme>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Empty,Empty
142142
"1 column","1 column"
143143
Configuration,Configuration
144144
"Default welcome msg!","Default welcome msg!"
145-
"Copyright © 2013-2017 Magento, Inc. All rights reserved.","Copyright © 2013-2017 Magento, Inc. All rights reserved."
145+
"Copyright © 2013-2018 Magento, Inc. All rights reserved.","Copyright © 2013-2018 Magento, Inc. All rights reserved."
146146
"Design Config Grid","Design Config Grid"
147147
"Rebuild design config grid index","Rebuild design config grid index"
148148
"Admin empty","Admin empty"

dev/tests/integration/testsuite/Magento/Theme/Controller/Adminhtml/System/Design/Config/SaveTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private function getRequestParams()
6767
'header_logo_height' => '',
6868
'header_logo_alt' => '',
6969
'header_welcome' => 'Default welcome msg!',
70-
'footer_copyright' => 'Copyright © 2013-2017 Magento, Inc. All rights reserved.',
70+
'footer_copyright' => 'Copyright © 2013-2018 Magento, Inc. All rights reserved.',
7171
'footer_absolute_footer' => '',
7272
'default_robots' => 'INDEX,FOLLOW',
7373
'custom_instructions' => '',

0 commit comments

Comments
 (0)