tracker issue : CF-3928293

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: CF Admin's "Use internal cache to store queries" description should mention a restart is required

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 01/27/2015

Components: Administrator

Versions: 11.0

Failure Type: Unspecified

Found In Build/Fixed In Build: CF11_Final / 301958

Priority/Frequency: Trivial / Some users will encounter

Locale/System: ALL / Platforms All

Vote Count: 1

CF Admin's "Use internal cache to store queries" currently has this description:

"When checked, at server level internal cache is used to store cached queries. By default, cached queries are stored in QUERY region supported by Ehcache."

However (since a CF restart is required for that setting change to take effect), the description should be extended to this:

"When checked, at server level internal cache is used to store cached queries. By default, cached queries are stored in QUERY region supported by Ehcache. You must restart the server for this change to take effect."

Steps to reproduce:

1) enable that 'use internal cache' setting
2) restart CF
3) see writeOutput(cacheRegionExists("query")) returns NO
4) disable that setting
5) see writeOutput(cacheRegionExists("query")) returns NO (b/c CF restart required)
6) restart CF
7) see writeOutput(cacheRegionExists("query")) returns YES
8) enable that setting
9) see writeOutput(cacheRegionExists("query")) returns YES (b/c CF restart required)
10) restart CF
11) see writeOutput(cacheRegionExists("query")) returns NO

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3928293

Reason:	BugVerified

External Customer Info:
External Company:  
External Customer Name: Aaron
External Customer Email:

Attachments:

Comments:

"When checked, *a* server level internal cache is used to store cached queries. By default, cached queries are stored in QUERY region supported by Ehcache. You must restart the server for this change to take effect."
Comment by External U.
8786 | January 27, 2015 04:35:19 AM GMT
Hi Tom, Good catch :) When I saw that sentence, I thought it was missing a comma. As in: "When checked, at server level, internal cache is used to store cached queries." And I thought that sentence was then pointless, since CF Admin _is_ server-level. BUT, w/ "at server level" changed to "a server level", it actually makes much more sense! Thanks, -Aaron
Comment by External U.
8787 | January 28, 2015 10:46:17 PM GMT
This issue is fixed now. I have verified it on cf_main branch. So closing it.
Comment by Nimit S.
8788 | March 20, 2017 07:14:02 AM GMT