Closed JeroenVanLeusden closed 5 years ago
Hello @JeroenVanLeusden, thank you for your report. We've acknowledged the issue and added to our backlog.
I've changed step 2 and 3 to website view scope, as enabling shipping methods have no store view scope in vanilla magento.
Hi @AleksLi. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
[ ] 1. Add/Edit Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[x] 2. Verify that the issue is reproducible on 2.3-develop
branchDetails
- Add the comment @magento-engcom-team give me 2.3-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop
branch, please, add the label Reproduced on 2.3.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 3. Verify that the issue is reproducible on 2.2-develop
branch. Details
- Add the comment @magento-engcom-team give me 2.2-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop
branch, please add the label Reproduced on 2.2.x
[ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.
@JeroenVanLeusden, thank you for your report.
Unfortunately, we are archiving this ticket now as it did not get much attention from both Magento Community and Core developers for an extended period. This is done in an effort to create a quality, community-driven backlog which will allow us to allocate the required attention more easily.
Please feel free to comment, reopen or create new ticket according to the Issue reporting guidelines
if you are still facing this issue on the latest 2.3-develop
branch. Thank you for collaboration.
Preconditions
Steps to reproduce
etc/adminhtml/system.xml
fileflatrate
on a website scope.Expected result
flatrate
shipping method is shown in the multiselect.Actual result
flatrate
shipping method isn't shown in the multiselect.Point of origin
https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Shipping/Model/Carrier/AbstractCarrier.php#L126-L138
$this->getStore
isnull
for adminhtml requests and causes Magento to fallback to default config value.or
https://github.com/magento/magento2/blob/2.2-develop/lib/internal/Magento/Framework/App/Config.php#L69 Where
scopeResolver
is resolving to default scope instead of store view.