[rt-devel] can't change AdminSearchResultRows config option in plugin config file

Christian Loos cloos at netcologne.de
Wed Apr 22 06:00:46 EDT 2015


Hi,

we have an internal plugin where we have a etc/NetCologne_Config.pm file
to change some config options (similar to [1]).

I now wanted to change AdminSearchResultRows [2] from 50 to 100 and
copied the option from etc/RT_Config.pm to my plugin
etc/NetCologne_Config.pm file and changed the values.

After a webserver restart Admin/Tools/Configuration.html reported as
source for AdminSearchResultRows my NetCologne_Config.pm file but the
values are still 50 instead of 100. And Admin/Queues/ shows only 50
queues per page.

If I copy the AdminSearchResultRows option from etc/RT_Config to
etc/RT_SiteConfig.pm and change there the values,
Admin/Tools/Configuration.html reports the changed values and
Admin/Queues/ shows 100 queues per page.

So changing AdminSearchResultRows works in etc/RT_SiteConfig.pm but not
in a plugin etc/*_Config.pm file.
Any ideas for this funny behavior?


Chris

[1]
https://github.com/bestpractical/rt-extension-rt_cpan_org/blob/master/etc/CPAN_Config.pm
[2]
https://github.com/bestpractical/rt/blob/stable/etc/RT_Config.pm.in#L2940


More information about the rt-devel mailing list