Commit ffedb40
committed
LDEV-5147 fix debug template error on mode switch
Reset cached configuration fields (debugEntries, mailServers, restMappings)
when switching between Single and Multi mode contexts. These lazily-initialized
fields would become stale after mode switching, causing component loading to fail
with "can't find component [lucee.admin.debug.Simple]".
The fix ensures a fresh reload from the new configuration context by resetting
these fields to empty arrays in MultiContextConfigWeb when setInstance() is called.
Version: 6.2.8.17 → 6.2.8.18-SNAPSHOT1 parent bf7239c commit ffedb40
3 files changed
Lines changed: 8 additions & 2 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1878 | 1878 | | |
1879 | 1879 | | |
1880 | 1880 | | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
1881 | 1887 | | |
1882 | 1888 | | |
1883 | 1889 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments