-
Notifications
You must be signed in to change notification settings - Fork 29
Improve Errormessage #82
Comments
From @orlangur on October 30, 2017 12:6
Such message has no sense as every global select is considered to be super by design:
However, check for |
From @magento-engcom-team on November 17, 2017 10:30 @brosenberger, thank you for your report. |
@piotrekkaminski - I've reviewed this. TESTED ON [Magento Commerce 2.2.2] and [2.3-develop] If the import detects that a configurable_variations attribute code is not super the following checks are needed:
At the moment we only have a check to see if the attribute is in the list of super attributes: if (!$this->_isAttributeSuper($superAttrCode)) { FAIL - DISPLAY ERROR } Is the intended result:
Thanks, |
I'd prefer detailed message when available, when not a list of possible reasons. The easier we can make it for people to avoid looking at CSV trying to guess what's wrong, the better. |
@piotrekkaminski - Agreed. It's on my radar. Thanks. T |
Quick update from me: If the import detects that a configurable_variations attribute code is not super one the following error messages will be displayed: Attribute code does not exist or is not in chosen attribute set. This covers all reasons why is not super. I will submit a pull request early next week for this. Thanks. T. |
…s - not a super attribute error message improvements
…s - not a super attribute error message improvements - travis ci build code fix
…s - not a super attribute error message improvements - travis ci build code style fix
…s - not a super attribute error message improvements - travis ci build code style fixes
…s - not a super attribute error message improvements - code styling fixes
…s - not a super attribute error message improvements - code styling Travis CI build fixes
…s - not a super attribute error message improvements - code styling Travis CI build fixes
…s - not a super attribute error message improvements - code styling Travis CI build fixes
…essage improvements #115
Accepted Public Pull Requests: - magento/magento2#16961: [Forwardport] Improve "Invalid country code" error message on tax import (by @ihor-sviziev) - magento/magento2#16962: [Forwardport] Add Confirm Modal Width (by @ihor-sviziev) - magento/magento2#16769: [Forwardport] Added 'title' attribute to 'img' tag in knockout template files. (by @sanganinamrata) - magento/magento2#16947: [Forwardport] Fix newsletter subscription behaviour for registered customer. (by @eduard13) - magento/magento2#16876: FIXED: FTP user and password strings urldecoded (by @javierperezm) - magento/magento2#16875: Remove unused comments from _initDiscount() function (by @mageprince) - magento/magento2#16888: Code improvement (by @mage2pratik) - magento/magento2#16892: [Forwardport] Fix for #12081: missing translations in the js-translations.json (by @mage2pratik) - #115: import-export-improvements #82 : super attribute error message improvements (by @tadhgbowe) Fixed GitHub Issues: - magento/magento2#12081: Magento 2.2.0: Translations for 'Item in Cart' missing in mini cart. (reported by @jhruehl) has been fixed in magento/magento2#16892 by @mage2pratik in 2.3-develop branch Related commits: 1. 18d11f5
Thank you @tadhgbowe for your fix for this issue. PR #115 has added more detailed information to error messages here. |
Merge 2.3-develop to EPAM-PR-4
From @brosenberger on October 30, 2017 10:53
Preconditions
Steps to reproduce
Expected result
Actual result
Copied from original issue: magento/magento2#11871
The text was updated successfully, but these errors were encountered: