Moodle

add indication of settings overriden from config.php

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Administration
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

at present some config values are overridden from config.php

  • logs are spammed with warning messages
  • no indication
  • save seems to override the setting, but the setting is not stored in fact

solution - tweak the setting loading to store the config.php overrides in special array and use them in UI to lock the setting fields

Activity

Hide
Dan Poltawski added a comment -

A different request but might be able to be done at the same time - it would be good if unassigned admin settings could indicated somehow too (particularly in drop-down lists). We kinda try and prevent that with the fix in MDL-8209 but if there was an elegant way to display it for users who never hit /admin/ that would be good.

Show
Dan Poltawski added a comment - A different request but might be able to be done at the same time - it would be good if unassigned admin settings could indicated somehow too (particularly in drop-down lists). We kinda try and prevent that with the fix in MDL-8209 but if there was an elegant way to display it for users who never hit /admin/ that would be good.
Hide
Petr Škoda (skodak) added a comment -

thanks Dan, I will keep that in mind when I finally get to this - I hope we could get these into 1.9.1

Show
Petr Škoda (skodak) added a comment - thanks Dan, I will keep that in mind when I finally get to this - I hope we could get these into 1.9.1
Hide
Petr Škoda (skodak) added a comment -

done

Show
Petr Škoda (skodak) added a comment - done

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: