Skip to content

Backend Issue - $this->scopeConfig->getValue() not reflecting the admin values #7036

Closed
@MagePsycho

Description

@MagePsycho

Preconditions

  1. Magento 2.1.0 EE
  2. PHP 7.0.10
  3. MySQL 5.6

Steps to reproduce

  1. Create multi-stores
  2. Configure different 'Allow Countries' settings for different stores (Configuration > General > Country Options)
  3. Go to Admin > Customers > All Customers > Go to any customer edit page
  4. In the Addresses section: You will see the different values for Country dropdown

Expected result

  1. Address Country drop-down in Admin should take values from 'Allow Countries' setting configured for the Default Store View(Admin)

Actual result

  1. But it's picking the 'Allow Countries' from other store (the one from select * from store_website where is_default = 1;)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions