Magento2: Default storeview status field should be readonly not disabled

Created on 18 Jun 2017  路  6Comments  路  Source: magento/magento2

When trying to change the name of the default storeview, the first time you want to save your changes an error message occurs saying The default store cannot be disabled. That occurs as the status field is set to disabled instead of readonly and so the status field is not correctly submitted.

Preconditions

  • Magento CE 2.1.7
  • No test data installed, almost plain vanilla install

Steps to reproduce

  1. Go to Stores > All stores
  2. Click the default store view and change the name
  3. Submit you changes

Expected result

  1. Your changes should be saved without any errors.

Actual result

  1. An error occured The default store cannot be disabled

storeview_1

storeview_2

Fixed in 2.2.x Confirmed Format is valid

Most helpful comment

@codedge PR would never hurt, at least as help for others to patch their Magento instance, and nowadays PRs are also processed pretty quickly.

All 6 comments

Seems like a duplicate of #7349 and #6435. The bug has two internal tickets MAGETWO-60746 and MAGETWO-57979 for more than half a year.

So here's a little joke: how many developers do you need in order to change an attribute on a html input?

@magento-team, any feedback on this one?

Oh, I did look for an existing ticket but wasn't able to find one.
Would it help if I create a PR @magento-team?

@codedge PR would never hurt, at least as help for others to patch their Magento instance, and nowadays PRs are also processed pretty quickly.

I tried to reproduce on develop branch (e649b4cc630dfa638271aebc9efd649c5f4bfca9) and it is not reproducible anymore. Seems to be fixed in newest code.

@krisdante Looks like fix was delivered to the develop branch (commits) and is going to be released with 2.2. However, issue is still likely to affect 2.1.

@codedge, thank you for your report.
The issue is already fixed in 2.2.0

Was this page helpful?
0 / 5 - 0 ratings