Skip to content

2.0 #3396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 169 commits into from
Closed

2.0 #3396

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
e725aee
MAGETWO-46968: Upgrade data issues
Dec 17, 2015
b113d78
dont crash CustomerSetupUpgrade on users without password
Flyingmana Nov 7, 2015
b06b423
Merge pull request #263 from magento-folks/PR-2.0.1
Dec 22, 2015
2d69a65
MAGETWO-45743: Investigate L2 test failure in testGetPackagesForUpdat…
Dec 1, 2015
bc582f9
MAGETWO-45743: Investigate L2 test failure in testGetPackagesForUpdat…
Dec 4, 2015
f329397
Merge pull request #280 from magento-ogre/MAGETWO-47514-integration-t…
mazhalai Jan 8, 2016
2e90ff8
MAGETWO-47009: Github #2674 Plugins/Interceptors Don't Work with Earl…
Jan 8, 2016
23746e5
MAGETWO-47375: Unnecessary MessageBox plugin duplicating Message logic
Jan 8, 2016
151b768
Merge branch 'MAGETWO-47375-message-box-2.0.1' into bugfix-2.0.1
Jan 8, 2016
e7f5b9f
Merge pull request #279 from magento-extensibility/bugfix-2.0.1
Jan 11, 2016
b6c44fc
MAGETWO-47377: Unnecessary StoreCookie plugin is executed on each req…
Jan 11, 2016
ae5d328
MAGETWO-47377: Unnecessary StoreCookie plugin is executed on each req…
Jan 11, 2016
1a13f4d
MAGETWO-47639: [Github] Not all files are pre-compiled #2888
Jan 12, 2016
d5331e2
MAGETWO-47639: [Github] Not all files are pre-compiled #2888
Jan 12, 2016
03f59fd
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 12, 2016
d568485
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 12, 2016
9cf7b1a
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 13, 2016
2e96c94
Merge branch 'php7-2.0-indexer' of https://github.corp.magento.com/ma…
Jan 13, 2016
30aaa11
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 13, 2016
446e17b
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 13, 2016
1c12fa2
MAGETWO-47583: checkAdminPasswordChange is NOT throwing exception whe…
Jan 13, 2016
7f7634a
MAGETWO-47639: [Github] Not all files are pre-compiled #2888
Jan 13, 2016
18e4fad
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 13, 2016
3c5617e
MAGETWO-47639: [Github] Not all files are pre-compiled #2888
Jan 13, 2016
0de4f9c
MAGETWO-47005: bin/magento setup:upgrade doesn't clean DB_PDO_MYSQL_D…
eddielau Dec 21, 2015
07c2ae0
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Dec 29, 2015
f800142
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 7, 2016
15657f0
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 7, 2016
7fa32e3
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 7, 2016
179d2b1
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 7, 2016
02e9355
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 7, 2016
899c7e2
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 8, 2016
6dd421f
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 8, 2016
503059d
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 8, 2016
28d9a3a
MAGETWO-47301: PHP7 Integration test failed - syntax error, unexpecte…
mazhalai Jan 11, 2016
ce89725
Merge pull request #295 from magento-extensibility/MAGETWO-47639-comp…
Jan 13, 2016
a2b1c72
MAGETWO-45688: Reflected XSS in Cookie HTTP header
Jan 12, 2016
bad65b8
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 13, 2016
0753caf
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 13, 2016
36bff7a
MAGETWO-47082: Category creation from product page fails if google ex…
Jan 14, 2016
e7abf62
MAGETWO-46478: Frontend CAPTCHA Bypass
Jan 14, 2016
50ebc96
MAGETWO-46853: Magento - Malicious Filter
Jan 14, 2016
2c7cd74
MAGETWO-46855: Block Cache Exploit
Jan 14, 2016
799cec4
Merge remote-tracking branch 'remotes/origin/MAGETWO-46853-Malicious-…
Jan 14, 2016
124f269
Merge remote-tracking branch 'remotes/origin/MAGETWO-47583-Admin-Pass…
Jan 14, 2016
25b8622
MAGETWO-47377: Unnecessary StoreCookie plugin is executed on each req…
Jan 14, 2016
00a7f51
MAGETWO-45652: Can't Deploy Sample Data After "composer create-project"
Nov 17, 2015
5a005e4
MAGETWO-45887: Persistent XSS on Create User Account
slavvka Nov 27, 2015
c8da771
MAGETWO-45954: Stored XSS through custom options
vzabaznov Nov 30, 2015
5a666fb
MAGETWO-45954: Stored XSS through custom options
vzabaznov Dec 3, 2015
815d3a2
MAGETWO-46016: Delete / Edit Reviews
Dec 3, 2015
38c2958
MAGETWO-46016: Delete / Edit Reviews
Dec 8, 2015
fae6471
MAGETWO-46026: Guest Order View / Protect Code
Dec 3, 2015
ad33c3d
MAGETWO-46039: Catalog price rule isn't applied to product created us…
vzabaznov Dec 3, 2015
b6395ca
MAGETWO-46039: Catalog price rule isn't applied to product created us…
vzabaznov Dec 7, 2015
0f24fb9
MAGETWO-46044: [Github] Synonyms don't work with Magento 2.0!
aohorodnyk Dec 10, 2015
96b95e5
MAGETWO-46920: SQLi Vulnerability
Dec 17, 2015
e615888
MAGETWO-46920: SQLi Vulnerability
Dec 18, 2015
b18e3db
MAGETWO-46920: SQLi Vulnerability
Dec 22, 2015
529d40c
MAGETWO-45757: CSRF Vulnerability on Cart Checkout
Nov 19, 2015
8d190dd
MAGETWO-45953: Internal error exposed with custom option file
vzabaznov Nov 27, 2015
f96b2f1
MAGETWO-45953: Internal error exposed with custom option file
vzabaznov Nov 27, 2015
e8c62dc
MAGETWO-45953: Internal error exposed with custom option file
vzabaznov Nov 30, 2015
81cc6aa
MAGETWO-45953: Internal error exposed with custom option file
vzabaznov Dec 4, 2015
6e4bac2
MAGETWO-45953: Internal error exposed with custom option file
vzabaznov Dec 7, 2015
1105423
MAGETWO-45953: Internal error exposed with custom option file
vzabaznov Dec 7, 2015
47970ab
MAGETWO-46395: Performance issue in customer form
slavvka Dec 9, 2015
6d959c7
Merge branch '2.0' of https://github.corp.magento.com/magento-sparta/…
Jan 14, 2016
0b4cae3
MAGETWO-47054: BaseURL in Static View Files
Jan 14, 2016
a556a93
MAGETWO-45688: Reflected XSS in Cookie HTTP header
Jan 14, 2016
c1b8e38
MAGETWO-47054: BaseURL in Static View Files
Jan 14, 2016
823d613
Merge remote-tracking branch 'mainlineCE/2.0' into PR_2.0
mazhalai Jan 14, 2016
7310e13
MAGETWO-46891: Information about selected country in address is not p…
Jan 14, 2016
2e6c0bf
Merge remote-tracking branch 'mainline/2.0' into MAGETWO-46891-2.0
Jan 14, 2016
bbf856b
MAGETWO-47064: JS error appears if loading product grid after clean c…
Dec 29, 2015
89288d8
MAGETWO-47064: JS error appears if loading product grid after clean c…
monkeysee Jan 13, 2016
270f37c
MAGETWO-47064: JS error appears if loading product grid after clean c…
monkeysee Jan 14, 2016
10c01d4
Merge remote-tracking branch 'tango/BUGS2.0' into 2.0
Jan 14, 2016
5e1de58
Merge remote-tracking branch 'nord/MAGETWO-47082-2_0_1' into 2.0
Jan 14, 2016
cce60a9
Merge remote-tracking branch 'south/MAGETWO-46891-2.0' into 2.0
Jan 14, 2016
56793af
MAGETWO-46395: Performance issue in customer form
Jan 14, 2016
b97b7d4
Merge branch 'support' into 2.0
Jan 14, 2016
3d273bc
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 14, 2016
b14aace
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 14, 2016
e367c18
Merge pull request #305 from okorshenko/2.0
Jan 14, 2016
445b590
Merge remote-tracking branch 'mainline/2.0' into api-2.0.1patch
Jan 14, 2016
dd42506
Merge remote-tracking branch 'mainline/2.0' into php7-2.0-indexer
Jan 14, 2016
71c9634
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 15, 2016
f9ef0e3
MAGETWO-47679: Remi PHP 7.0.1 failure on L1 segmentation fault on SOA…
Jan 15, 2016
05c7acb
MAGETWO-45723: Plugins methods calls two times in case when Proxy exi…
Dec 18, 2015
1ccbe83
MAGETWO-45728: Travis CI Builds Fail Due to Authentication to repo.ma…
Dec 17, 2015
20d353d
MAGETWO-45882: "Custom option" prices are not present in "Configurabl…
kandy Nov 27, 2015
f5ec1f5
MAGETWO-46663: Most of category fields dont have Use Default Value op…
Dec 10, 2015
91b73d5
MAGETWO-46664: Composer Based EE failure on braintree package
YevSent Dec 10, 2015
2f78c40
MAGETWO-45688: Reflected XSS in Cookie HTTP header
Jan 15, 2016
e88177a
MAGETWO-46808: [GITHUB] Admin order creation fails when "Include Tax …
Dec 16, 2015
1ac556b
MAGETWO-46808: [GITHUB] Admin order creation fails when "Include Tax …
Jan 11, 2016
b6974cb
MAGETWO-46808: [GITHUB] Admin order creation fails when "Include Tax …
Jan 12, 2016
b5c8341
MAGETWO-46808: [GITHUB] Admin order creation fails when "Include Tax …
Jan 12, 2016
bfe4148
MAGETWO-46808: [GITHUB] Admin order creation fails when "Include Tax …
Jan 15, 2016
ee8ba2a
Merge pull request #306 from magento-api/api-2.0.1patch
Jan 15, 2016
25cf0c3
MAGETWO-46826: Multistore: Import product with Replace behaviour caus…
Jan 12, 2016
d95ffa1
MAGETWO-46826: Multistore: Import product with Replace behaviour caus…
Jan 14, 2016
49fe15f
MAGETWO-47285: Admin Panel, Categories: Reset of product assignments …
rganin Jan 15, 2016
96cfc06
MAGETWO-46891: Information about selected country in address is not p…
Jan 15, 2016
ca03c88
Merge remote-tracking branch 'mainline/2.0' into MAGETWO-46891-2.0
Jan 15, 2016
9a14060
MAGETWO-46478: Frontend CAPTCHA Bypass
Jan 15, 2016
97936c0
Merge pull request #10 from magento-troll/MAGETWO-47285-2.0
Jan 15, 2016
794b23b
Merge pull request #11 from magento-tango/pr2.0
Jan 15, 2016
2a02485
Merge remote-tracking branch 'mainline/2.0' into php7-2.0-indexer
Jan 15, 2016
5d6a90a
MAGETWO-47651: Remi PHP 7.0.1 failure on L1 Magento\Framework\Phrase
Jan 12, 2016
6eeeebb
MAGETWO-47651: Remi PHP 7.0.1 failure on L1 Magento\Framework\Phrase
Jan 11, 2016
5b388bb
MAGETWO-47651: Remi PHP 7.0.1 failure on L1 Magento\Framework\Phrase
Jan 8, 2016
d65806f
MAGETWO-47651: Remi PHP 7.0.1 failure on L1 Magento\Framework\Phrase
Jan 15, 2016
beda204
MAGETWO-44929: [PHP7] Unit tests PHPReadinessCheck and Maintenance fa…
mazhalai Nov 17, 2015
8ee052a
MAGETWO-44929: [PHP7] Unit tests PHPReadinessCheck and Maintenance fa…
mazhalai Nov 18, 2015
258c6cd
MAGETWO-44929: [PHP7] Unit tests PHPReadinessCheck and Maintenance fa…
mazhalai Dec 3, 2015
fc0d477
MAGETWO-44929: [PHP7] Unit tests PHPReadinessCheck and Maintenance fa…
mazhalai Dec 3, 2015
a31dc87
MAGETWO-44929: [PHP7] Unit tests PHPReadinessCheck and Maintenance fa…
mazhalai Dec 3, 2015
19f74ad
MAGETWO-44929: [PHP7] Unit tests PHPReadinessCheck and Maintenance fa…
mazhalai Dec 3, 2015
d046fa2
MAGETWO-44929: [PHP7] Unit tests PHPReadinessCheck and Maintenance fa…
mazhalai Dec 4, 2015
730afa2
MAGETWO-47956: Magento 2.0.1 Publication
Jan 15, 2016
3b96768
MAGETWO-44929: [PHP7] Unit tests PHPReadinessCheck and Maintenance fa…
mazhalai Dec 4, 2015
156ec09
MAGETWO-47048: [PHP7] Update version of pdepend in composer.json
mazhalai Dec 17, 2015
bb96325
MAGETWO-45688: Reflected XSS in Cookie HTTP header
Jan 15, 2016
c87537d
MAGETWO-47001: Error on import products - validation not works
Jan 3, 2016
0b5f63f
MAGETWO-47001: Error on import products - validation not works
Jan 15, 2016
a545290
MAGETWO-47666: Swatches Module generates too many DB requests on Stor…
Jan 11, 2016
bf26370
Merge pull request #14 from magento-nord/pr-2.0
Jan 15, 2016
398ecd5
Merge pull request #310 from magento-south/MAGETWO-46891-2.0
Jan 15, 2016
44c48b1
Merge pull request #311 from magento-api/php7-2.0-indexer
Jan 15, 2016
f7b9cc2
Merge remote-tracking branch 'mainline/2.0' into 2.0.1
Jan 15, 2016
9cc58fa
MAGETWO-47956: Magento 2.0.1 Publication
Jan 15, 2016
b6baf09
MAGETWO-47544: "Learn More" link for Payments Pro goes to Payflow Pro
YevSent Jan 16, 2016
177e998
Merge remote-tracking branch 'mainline/2.0' into pr-2.0
Jan 16, 2016
6711be5
Merge pull request #309 from magento-goinc/pr-2.0
Jan 16, 2016
dccad97
Merge branch '2.0' of github.corp.magento.com:magento2/magento2ce int…
YevSent Jan 16, 2016
e7dc2ec
Merge remote-tracking branch 'mainline/2.0' into 2.0.1
Jan 16, 2016
4dc15a4
Merge branch '2.0' of https://github.corp.magento.com/magento-sparta/…
Jan 16, 2016
8cc304a
Merge pull request #316 from magento-mpi/MAGETWO-47544-2.0
Jan 16, 2016
baa8595
Merge branch '2.0' of https://github.corp.magento.com/magento-sparta/…
Jan 17, 2016
14b0e9b
MAGETWO-47504: USPS January 17, 2016 API Changes
YevSent Jan 12, 2016
17286a9
MAGETWO-47504: USPS January 17, 2016 API Changes
Jan 16, 2016
51947d6
MAGETWO-47440: [GITHUB-2471] Incorrect prices on configurable product…
Dec 29, 2015
e565100
MAGETWO-47267: URL Rewrites do not work for products accessed via cat…
Dec 23, 2015
f722aef
MAGETWO-47267: URL Rewrites do not work for products accessed via cat…
Jan 17, 2016
a0ed5ec
MAGETWO-45594: XSS code still can be saved into database
Jan 16, 2016
213f169
MAGETWO-45594: XSS code still can be saved into database
Dec 22, 2015
568df20
MAGETWO-45594: XSS code still can be saved into database
Dec 28, 2015
8ea3585
MAGETWO-45594: XSS code still can be saved into database
Dec 29, 2015
a88c7cf
MAGETWO-45594: XSS code still can be saved into database
Dec 29, 2015
cc141ac
MAGETWO-45594: XSS code still can be saved into database
Jan 14, 2016
1bcea15
MAGETWO-42103: Minicart does not clear after completing an order via …
Nov 19, 2015
bc35b71
MAGETWO-45594: XSS code still can be saved into database
Jan 17, 2016
5388ad0
Merge pull request #322 from magento-sparta/MDVA-53_PART2
Jan 17, 2016
5102f66
MAGETWO-45688: Reflected XSS in Cookie HTTP header
Jan 18, 2016
2fbe446
Merge remote-tracking branch 'mainline/2.0' into 2.0.1
Jan 18, 2016
4b41db4
MAGETWO-47956: Magento 2.0.1 Publication
Jan 19, 2016
362cd0c
Merge pull request #314 from okorshenko/2.0.1
Jan 19, 2016
e8d0624
MAGETWO-47956: Magento 2.0.1 Publication
Jan 19, 2016
b00ef5e
Merge remote-tracking branch 'remotes/origin/2.0' into api-2.0.1patch
Jan 19, 2016
0fd2bec
Merge pull request #325 from magento-api/api-2.0.1patch
Jan 19, 2016
6158b53
MAGETWO-48094: [Branch 2.0] Can't deploy from composer packages
YevSent Jan 19, 2016
c1f3edb
Merge branch '2.0' of github.corp.magento.com:magento2/magento2ce int…
YevSent Jan 19, 2016
28d3d87
Merge pull request #326 from magento-mpi/MAGETWO-48094
Jan 19, 2016
58a0964
MAGETWO-48380: Magento 2.0.2 Publication
Jan 26, 2016
c946f29
MAGETWO-48380: Magento 2.0.2 Publication
Jan 26, 2016
b3a973c
MAGETWO-48380: Magento 2.0.2 Publication
Jan 28, 2016
71dab8d
MAGETWO-48380: Magento 2.0.2 Publication
Jan 28, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 40 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
2.0.1
=============
* Fixed bugs:
* Fixed an issue to allow deployment of sample data after running "composer create-project"
* Fixed an issue that made it possible for someone to edit someone else's reviews
* Fixed an issue that made it possible to view order details for certain orders that were created by someone else
* Fixed an issue where catalog price rule isn't applied to a product that is created when using Web API
* Fixed an issue where an empty file was uploaded to custom option
* Fixed an issue where minicart does not clears after completing an order via PayPal
* Fixed an issue plugin incorrect calls when proxy exists
* Fixed an issue when travis CI builds fail due to authentication
* Fixed an issue when custom options for configurable products were calculated incorrectly
* Fixed an issue with modifying a category form on store view level
* Fixed an issue where URL rewrites worked incorrectly for sample data
* Fixed an issue with BaseURL in static files
* Fixed an issue where a customer's custom attribute of 'file' type isn't supported by UI Form Component
* Fixed an issue when bin/magento setup:upgrade does not clear cache properly
* Fixed an issue where category creation from product page fails if Google Chrome Experiments are enabled
* Fixed an issue where information about the country selected in address is not presented in checkout flow
* Fixed an issue where customer segments prevent page from caching
* Fixed an issue where an imported product with replace behaviour causes an error for multi-store implementations.
* Fixed an issue with validation of url_key during import
* Fixed an issue with "Learn More" link for Payments Pro goes to Payflow Pro
* Fixed an issue in which a JS error appears if loading a product grid after clearing cache and static files
* GitHub requests:
* [#2519](https://github.com/magento/magento2/issues/2519) -- Fixed an issue where synonyms don't work with Magento 2.0
* [#2675](https://github.com/magento/magento2/issues/2675) -- Fixed an issue with admin order creation when config "Include Tax In Order Total is set to yes
* [#2471](https://github.com/magento/magento2/issues/2471) -- Fixed an issue with incorrect prices on configurable product page when catalog prices include tax
* [#2674](https://github.com/magento/magento2/issues/2674) -- Fixed an issue where plugins/interceptors don't work with early stage single instance objects
* [#2888](https://github.com/magento/magento2/issues/2888) -- Fixed an issue where not all files are pre-compiled
* Various improvements:
* Fixed performance issue on customer edit form
* Fixed performance issue related to swatch module
* Fixed several security-related issues
* Added support of latest USPS API
* Added support of PHP 7.0.2

2.0.0
=============
* Fixed bugs:
Expand Down Expand Up @@ -108,7 +145,7 @@
* Added the ability of inline and bulk inline editing in data grids
* WebApi Framework improvements:
* Added the support for store codes in API calls
* Added the ability to update the Magento system to a particular version of Magento
* Added the ability to update the Magento system to a particular version of Magento
* Added the ability to enable/disable modules for Magento application
* Added the ability to use maintenance mode
* Introduced the common interface for Webapi payload processors
Expand Down Expand Up @@ -146,7 +183,7 @@
* Updated the extensions styles in the Web Installation Wizard
* Added the ability to control access to the setup tool
* Added the Install Components functionality for Web Installation Wizard
* Updated styles
* Updated styles
* Sample Data:
* Improved sample data installation UX
* Updated sample data with Product Heros, color swatches, MAP and rule based product relations
Expand Down Expand Up @@ -232,7 +269,7 @@
* [#1418](https://github.com/magento/magento2/issue/1418) -- Items in minicart are not cleared after successful placing an order
* [#1408](https://github.com/magento/magento2/issue/1408) -- Error command cli setup:static-content:deploy
* [#1396](https://github.com/magento/magento2/issue/1396) -- Products are not shown in category right after import

1.0.0-beta
=============
* Framework improvements:
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/AdminNotification/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lib-libxml": "*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/AdvancedPricingImportExport/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"magento/framework": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Authorization/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"magento/framework": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public function testCheckResponseCodeFailure($responseCode)
$this->dataHelperMock->expects($this->any())
->method('wrapGatewayError')
->with($reasonText)
->willReturn(__('Gateway error: ' . $reasonText));
->willReturn(__('Gateway error: %1', $reasonText));

$this->directpost->checkResponseCode();
}
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Authorizenet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"magento/framework": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"proprietary"
],
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"magento/framework": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ YTD,YTD
"Maximum sender name length is 255. Please correct your settings.","Maximum sender name length is 255. Please correct your settings."
"The file you're uploading exceeds the server size limit of %1 kilobytes.","The file you're uploading exceeds the server size limit of %1 kilobytes."
"The base directory to upload file is not specified.","The base directory to upload file is not specified."
"The specified image adapter cannot be used because of: ","The specified image adapter cannot be used because of: "
"The specified image adapter cannot be used because of: %1","The specified image adapter cannot be used because of: %1"
"Default scope","Default scope"
"Base currency","Base currency"
"Display default currency","Display default currency"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@
<script>
var BASE_URL = '<?php /* @escapeNotVerified */ echo $block->getUrl('*') ?>';
var FORM_KEY = '<?php /* @escapeNotVerified */ echo $block->getFormKey() ?>';
var require = {
"baseUrl": "<?php /* @escapeNotVerified */ echo $block->getViewFileUrl('/') ?>"
};
</script>
2 changes: 1 addition & 1 deletion app/code/Magento/Backup/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"magento/framework": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Braintree/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"magento/module-checkout-agreements": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"proprietary"
],
Expand Down
22 changes: 20 additions & 2 deletions app/code/Magento/Bundle/Test/Unit/Model/CartItemProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,16 @@ public function testConvertToBuyRequest()
$dataObjectMock = $this->getMock('\Magento\Framework\DataObject');
$optionExtensionMock = $this->getMock(
'\Magento\Quote\Api\Data\ProductOptionExtensionInterface',
['getBundleOptions'],
[
'getBundleOptions',
'getCustomOptions',
'setCustomOptions',
'setBundleOptions',
'getDownloadableOption',
'setDownloadableOption',
'getConfigurableItemOptions',
'setConfigurableItemOptions'
],
[],
'',
false
Expand Down Expand Up @@ -128,7 +137,16 @@ public function testProcessProductOptions()
$productOptionMock = $this->getMock('\Magento\Quote\Model\Quote\ProductOption', [], [], '', false);
$optionExtensionMock = $this->getMock(
'\Magento\Quote\Api\Data\ProductOptionExtensionInterface',
['setBundleOptions'],
[
'getBundleOptions',
'getCustomOptions',
'setCustomOptions',
'setBundleOptions',
'getDownloadableOption',
'setDownloadableOption',
'getConfigurableItemOptions',
'setConfigurableItemOptions'
],
[],
'',
false
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Bundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"magento/module-bundle-sample-data": "Sample Data version:100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/BundleImportExport/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"magento/framework": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CacheInvalidate/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"magento/framework": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Captcha/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"magento/framework": "100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
namespace Magento\Catalog\Block\Adminhtml\Category\Tab;

class Attributes extends \Magento\Backend\Block\Widget\Form\Generic
class Attributes extends \Magento\Catalog\Block\Adminhtml\Form
{
/**
* Retrieve Category object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@ protected function getValidatorErrors($errors, $fileInfo, $option)
$this->fileSize->getMaxFileSizeInMb()
);
break;
case \Zend_Validate_File_ImageSize::NOT_DETECTED:
$result[] = __(
"The file '%1' is empty. Please choose another one",
$fileInfo['title']
);
break;
default:
$result[] = __(
"The file '%1' is invalid. Please choose another one",
$fileInfo['title']
);
}
}
return $result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,30 @@ class ValidatorFile extends Validator
*/
protected $product;

/**
* @var \Magento\Framework\Validator\File\IsImage
*/
protected $isImageValidator;

/**
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
* @param \Magento\Framework\Filesystem $filesystem
* @param \Magento\Framework\File\Size $fileSize
* @param \Magento\Framework\HTTP\Adapter\FileTransferFactory $httpFactory
* @param \Magento\Framework\Validator\File\IsImage $isImageValidator
* @throws \Magento\Framework\Exception\FileSystemException
*/
public function __construct(
\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig,
\Magento\Framework\Filesystem $filesystem,
\Magento\Framework\File\Size $fileSize,
\Magento\Framework\HTTP\Adapter\FileTransferFactory $httpFactory
\Magento\Framework\HTTP\Adapter\FileTransferFactory $httpFactory,
\Magento\Framework\Validator\File\IsImage $isImageValidator
) {
$this->mediaDirectory = $filesystem->getDirectoryWrite(DirectoryList::MEDIA);
$this->filesystem = $filesystem;
$this->httpFactory = $httpFactory;
$this->isImageValidator = $isImageValidator;
parent::__construct($scopeConfig, $filesystem, $fileSize);
}

Expand Down Expand Up @@ -169,8 +177,15 @@ public function validate($processingParams, $option)
$_height = 0;

if ($tmpDirectory->isReadable($tmpDirectory->getRelativePath($fileInfo['tmp_name']))) {
$imageSize = getimagesize($fileInfo['tmp_name']);
if ($imageSize) {
if (filesize($fileInfo['tmp_name'])) {
if ($this->isImageValidator->isValid($fileInfo['tmp_name'])) {
$imageSize = getimagesize($fileInfo['tmp_name']);
}
} else {
throw new LocalizedException(__('The file is empty. Please choose another one'));
}

if (!empty($imageSize)) {
$_width = $imageSize[0];
$_height = $imageSize[1];
}
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"magento/module-catalog-sample-data": "Sample Data version:100.0.*"
},
"type": "magento2-module",
"version": "100.0.2",
"version": "100.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Catalog/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -699,3 +699,4 @@ Autosettings,Autosettings
"Allow Gift Message","Allow Gift Message"
"Meta Title","Meta Title"
"Maximum 255 chars","Maximum 255 chars"
"The file is empty. Please choose another one","The file is empty. Please choose another one"
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ require(['prototype'], function(){
</label>
<div class="admin__field-control control">
<?php if ($_fileExists): ?>
<span class="<?php /* @escapeNotVerified */ echo $_fileNamed ?>"><?php /* @escapeNotVerified */ echo $_fileInfo->getTitle(); ?></span>
<span class="<?php /* @noEscape */ echo $_fileNamed ?>"><?php echo $block->escapeHtml($_fileInfo->getTitle()); ?></span>
<a href="javascript:void(0)" class="label" onclick="opFile<?php /* @escapeNotVerified */ echo $_rand; ?>.toggleFileChange($(this).next('.input-box'))">
<?php /* @escapeNotVerified */ echo __('Change') ?>
</a>&nbsp;
Expand All @@ -79,7 +79,7 @@ require(['prototype'], function(){
<?php endif; ?>
<div class="input-box" <?php echo $_fileExists ? 'style="display:none"' : '' ?>>
<!-- ToDo UI: add appropriate file class when z-index issue in ui dialog will be resolved -->
<input type="file" name="<?php /* @escapeNotVerified */ echo $_fileName; ?>" class="product-custom-option<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" price="<?php /* @escapeNotVerified */ echo $block->getCurrencyPrice($_option->getPrice(true)) ?>" <?php echo $_fileExists ? 'disabled="disabled"' : '' ?>/>
<input type="file" name="<?php /* @noEscape */ echo $_fileName; ?>" class="product-custom-option<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" price="<?php /* @escapeNotVerified */ echo $block->getCurrencyPrice($_option->getPrice(true)) ?>" <?php echo $_fileExists ? 'disabled="disabled"' : '' ?>/>
<input type="hidden" name="<?php /* @escapeNotVerified */ echo $_fieldNameAction; ?>" value="<?php /* @escapeNotVerified */ echo $_fieldValueAction; ?>" />

<?php if ($_option->getFileExtension()): ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,42 @@ define([
var thisButton = $(e.currentTarget);

thisButton.prop('disabled', true);

var postData = {
general: {
name: $('#new_category_name').val(),
is_active: 1,
include_in_menu: 1
},
parent: $('#new_category_parent').val(),
use_config: ['available_sort_by', 'default_sort_by'],
form_key: FORM_KEY,
return_session_messages_only: 1
};

var fields = {};

$.each($(newCategoryForm).serializeArray(), function(_, field) {
if (
field.name &&
field.name != 'new_category_name' &&
field.name != 'new_category_parent'
) {
if (fields.hasOwnProperty(field.name)) {
fields[field.name] = $.makeArray(fields[field.name]);
fields[field.name].push(field.value);
}
else {
fields[field.name] = field.value;
}
}
});
$.extend(postData, fields);

$.ajax({
type: 'POST',
url: widget.options.saveCategoryUrl,
data: {
general: {
name: $('#new_category_name').val(),
is_active: 1,
include_in_menu: 1
},
parent: $('#new_category_parent').val(),
use_config: ['available_sort_by', 'default_sort_by'],
form_key: FORM_KEY,
return_session_messages_only: 1
},
data: postData,
dataType: 'json',
context: $('body')
}).success(function (data) {
Expand Down
Loading