Skip to content

\Magento\Framework\App\Config\Value::isValueChanged always returning false for app:config:import command #33718

Open
@rmsundar1

Description

@rmsundar1

https://github.com/magento/magento2/blob/2.4-develop/lib/internal/Magento/Framework/App/Config/Value.php#L87
Always returns false for app:config:import command.

Preconditions (*)

  1. Magento 2 with multiple websites
  2. With sample data or should have some products

Steps to reproduce (*)

  1. Set the price scope to "Website" in your Magento root/app/etc/config.php
'system' => [
        'default' => [
                'catalog' => [
                        'price' =>[
                             'scope' => 1
                         ]
                 ]
         ]
],
  1. Run app:config:import
  2. Set the price scope to "Global" in your Magento root/app/etc/config.php
'system' => [
        'default' => [
                'catalog' => [
                        'price' =>[
                             'scope' => 0
                         ]
                 ]
         ]
],
  1. Run app:config:import

Expected result (*)

  1. The indexer status has to invalidate as per the backend model for the price scope store config https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Catalog/Model/Indexer/Product/Price/System/Config/PriceScope.php#L58-L64

Actual result (*)

Issue. Indexer status is not changing
Note: On setting the Price scope from UI to Global / Website - Indexer status in invalidated
image


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Area: PerformanceComponent: ConfigIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

Status

Pull Request In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions