SOLR-1064: registry.jsp incorrectly displaying info for last core initialized regardless of what the current core is

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@752552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2009-03-11 18:33:31 +00:00
parent c68ddb954c
commit 1826b73a27
2 changed files with 3 additions and 1 deletions

View File

@ -296,6 +296,8 @@ Bug Fixes
33. SOLR-1031: Fix XSS vulnerability in schema.jsp (Paul Lovvik via ehatcher)
34. SOLR-1064: registry.jsp incorrectly displaying info for last core initialized
regardless of what the current core is. (hossman)
Other Changes
----------------------

View File

@ -40,7 +40,7 @@ for (SolrInfoMBean.Category cat : SolrInfoMBean.Category.values()) {
%>
<<%= cat.toString() %>>
<%
Map<String, SolrInfoMBean> reg = SolrInfoRegistry.getRegistry();
Map<String, SolrInfoMBean> reg = core.getInfoRegistry();
synchronized(reg) {
for (Map.Entry<String,SolrInfoMBean> entry : reg.entrySet()) {
String key = entry.getKey();