Open
Description
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
- In admin, go to Stores > Configuration;
- Make sure you are under
Default Config
orMain Website
scope; - On left tabs, look for tab
Testing
and click in SectionTesting
; - 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.
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.
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
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchIssue related to Developer Experience and needs help with Triage to Confirm or Reject it