Skip to content

system.xml file validation issue #23899

Closed
@Gurdit

Description

@Gurdit

Preconditions (*)

  1. Magento commerce 2.3.2
  2. Nginx server
  3. Php 7.2

Steps to reproduce (*)

  1. In system.xml if you forgot to add label tag in inside field tag, your config will be locked as cache and it will not save any value to the database. as shown below:
    <field id="example_id" translate="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <frontend_model>[vendor]\[module]\Block\Adminhtml\Form\Field\Ranges</frontend_model> </field>
  2. devdocs refrence url : https://devdocs.magento.com/guides/v2.3/ext-best-practices/tutorials/dynamic-row-system-config.html

Expected result (*)

  1. It should show an error message or log an error that vendor/module/etc/system.xml file is invalid.

Actual result (*)

  1. Config will be locked as cache and it will not save any value to the database. And will show the success message your configuration is saved.

Metadata

Metadata

Assignees

Labels

Component: ConfigFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions