-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix possible bug when saving address with empty street line #10582
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
Fix possible bug when saving address with empty street line #10582
Conversation
@vovayatsyuk Please take a look at the failed unit tests. |
Hi! Don't know if I did it right, please take a look. (I've added a suppress instruction for failed static test) |
@vovayatsyuk Thank you for the update. We will proceed with review and merge. |
@vovayatsyuk I've tried to reproduce the described scenario with the
Please provide precise scenario you are following. Thanks |
Maybe this issue is reproducible at frontend only, I didn't check backend.
An error will be returned in response:
And the following messages will be logged into
|
@vovayatsyuk Thank you for the clear and rapid answer |
@vovayatsyuk Is there a way to get this backported into 2.2? |
Yep, I will create a backport PR shortly |
Public Pull Requests #11952 11832: Create order (on Customer edit page) - not working from admin environment by @RomaKis #12141 Fix js error when disable/enable wysiwyg editor by @vovayatsyuk #12130 [Backport 2.2] MAGETWO-71697: Fix possible bug when saving address with empty street line #10582 by @vovayatsyuk #12173 8022: Uncaught Error: Call to a member function addItem() on array in app/code/Magento/Sales/Model/Order/Shipment.php(backport to 2.2) by @RomaKis #12001 11532: Duplicate Simple Product Throws Error: Undefined offset: 0 in SaveHandler.php on line 122 by @RomaKis #12077 10628: Color attribute swatches are not visible if sorting is enabled by @RomaKis #12035 Fix newsletter subscriptions between stores by @sbaixauli #11274 Fix #10477 Check cart rule subselect conditions against quote item children too by @marinagociu Fixed Public Issues #11832 Create order (on Customer edit page) - not working from admin environment #8022 Uncaught Error: Call to a member function addItem() on array in app/code/Magento/Sales/Model/Order/Shipment.php #11532 Duplicate Simple Product Throws Error: Undefined offset: 0 in SaveHandler.php on line 122 #10628 Color attribute swatches are not visible if sorting is enabled #10014 Newsletter subscriptions status not isolated between multi stores #10477 Cart price rule has failed if use dropdown attribute
Description
The changes affect address street data preparation to guarantee that street array will be converted to the string.
Manual testing scenarios
exception 'Exception' with message 'Notice: Array to string conversion on line 2903 in lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
will be raised.Contribution checklist