Skip to content

Admin Section is not visible in backend on production mode #14104

@cdiacon

Description

@cdiacon

I cannot access the section if the section id or group contains "dev" as an id and the production mode is enabled as a result the admin visibility will change the section to hidden.

Preconditions

  1. magento with the branch 2.2.4-preview installed
  2. php 7.0
  3. production mode

Steps to reproduce

  1. create a section in adminhtml/system.xml in a custom module with the section id that contains "dev"
  2. enable the production mode
  3. go to stores->configuration
  4. the section is not visible

Expected result

  1. have a section/group with the id that conains "dev" as a section id example
<section id="anything_that_contains_dev_as_a_name_will_be_hidden" translate="label" sortOrder="130" showInDefault="1" showInWebsite="1" showInStore="0">
  1. enable the production mode
  2. see the section visible on stores->configuration

Actual result

  1. section is not visible

screen shot 2018-03-14 at 16 18 26
screen shot 2018-03-14 at 16 30 51

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: 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.2.xThe issue has been reproduced on latest 2.2 releaseReproduced 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