Skip to content

[BUG] ENV config override does not disable fields #5164

@sreichel

Description

@sreichel

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Setting config from ENV variable should lock the input field, but its not working for all.

Expected Behavior

All fields should be correctly disabled,

Steps To Reproduce

  1. add to your .env
OPENMAGE_CONFIG_OVERRIDE_ALLOWED=1
OPENMAGE_CONFIG__DEFAULT__DEV__LOG__ACTIVE="1"
OPENMAGE_CONFIG__DEFAULT__DEV__LOG__MAX_LEVEL="0"
OPENMAGE_CONFIG__DEFAULT__DEV__LOG__FILE="env.system.log"
OPENMAGE_CONFIG__DEFAULT__DEV__LOG__EXCEPTION_FILE="env.exceptions.log"
  1. go to admin - config - advanced - developer - log setting ...
  2. all fields should be disabled

Environment

- OpenMage: latest
- php: 8.x

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions