Skip to content

Magento 2.4.4 store view system config issue #35767

Open
@jorgehs91

Description

@jorgehs91

Preconditions and environment

  • I'm using Magento CE 2.4.4.
  • I tested with a clean installation.
  • Field enabled must be hidden in all scopes, except Default Config.

As precondition, I'm using the following system.xml and config.xml in a custom module.

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <tab id="testing" translate="label" sortOrder="10">
            <label>Testing</label>
        </tab>
        <section id="testing" translate="label" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="1">
            <class>separator-top</class>
            <label>Testing</label>
            <tab>testing</tab>
            <resource>Magento_Catalog::catalog</resource>
            <group id="tracking" translate="label" type="text" sortOrder="10" showInDefault="1"
                   showInWebsite="1" showInStore="1">
                <label>Tracking</label>
                <field id="enabled" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="0"
                       showInStore="0">
                    <label>Enabled</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                </field>
                <field id="emails" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1"
                       showInStore="1">
                    <label>List of emails</label>
                    <depends>
                        <field id="enabled">1</field>
                    </depends>
                </field>
            </group>
        </section>
    </system>
</config>
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
    <default>
        <testing>
            <tracking>
                <enabled>1</enabled>
            </tracking>
        </testing>
    </default>
</config>

Steps to reproduce

  1. In admin, go to Stores > Configuration;
  2. Make sure you are under Default Config or Main Website scope;
  3. On left tabs, look for tab Testing and click in Section Testing;
  4. Now, change the scope to Default Store View (or any other store view scope).

Expected result

Is expected that the field List of emails is visible and readonly, like the Main Website scope.
The image below shows what is expected.

Screenshot 2022-07-13 at 21 17 16

Actual result

The field List of emails does not show, preventing me to change the field value in Store View scope.
The image below shows the actual result.

Screenshot 2022-07-13 at 21 18 41

Additional information

No response

Release note

No response

Triage and priority

  • 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

No one assigned

    Labels

    Area: UI FrameworkComponent: ConfigIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: ready for devReported on 2.4.4Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions