View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0036164 | mantisbt | administration | public | 2025-07-22 06:17 | 2025-07-23 06:06 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Target Version | 2.27.2 | Fixed in Version | 2.27.2 | ||
Summary | 0036164: Impossible to delete a global config defined in the database | ||||
Description | config_delete() prevents deleting configs defined in $g_global_settings. This does not make sense: if they are not allowed to be present in the database, then it should be OK to remove them from it. | ||||
Additional Information | This situation can happen when a config that was not initially defined as global is later added to $g_global_settings. The Admin Checks should detect this. | ||||
Tags | No tags attached. | ||||
MantisBT: master-2.27 cf28aca3 2025-05-05 13:17 Details Diff |
Allow deleting a Global config option config_delete() prevents deleting configs defined in $g_global_settings. This does not make sense: if they are not allowed to be present in the database, then it should be OK to remove them. This situation can happen, when a config that was not initially defined as global, is later added to the $g_global_settings. Fixes 0036164 |
Affected Issues 0036164 |
|
mod - core/commands/ConfigsSetCommand.php | Diff File | ||
mod - core/config_api.php | Diff File | ||
MantisBT: master-2.27 10366604 2025-05-05 13:17 Details Diff |
Add admin check for global configs defined in DB Fixes 0036164 |
Affected Issues 0036164 |
|
mod - admin/check/check_config_inc.php | Diff File |