Skip to content

configuration page doesn't show active settings #1105

@ikke-t

Description

@ikke-t

[x]: This is a bug and not a question.

[x]: I understand that the best way to resolve this issue is to solve it and propose a Pull Request.

Describe the bug**

I run LB in kube and switched to use settings from environment variables. Now when I go to configuration page, it doesn't show active settings. Instead it shows perhaps ones coming from config.php (dist). Anyhow, this is misleading.

To Reproduce**

Steps to reproduce the behavior:

  1. Configure some value in config.php to foo
  2. override the setting using LB_VALUE=bar in env
  3. check config page for it

Expected behavior**

Config page should show grayed out value bar which is the active one, instead it shows foo. It already knows to gray it out, and within that logic is should rather print out the active value instead of one in config.php.

Screenshots**

Additional context**

Specifications

  • LibreBooking version (or SHA if using the develop branch): 4.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions